dosubot[bot] commented on issue #35660: URL: https://github.com/apache/superset/issues/35660#issuecomment-3406172719
<!-- Answer --> To fetch charts via the `/api/v1/charts` endpoint in Superset 5.0.0, your role needs the `Chart` permission with read access (`can_read`, `can_list`, or `can_show`). You may also need similar read permissions on related resources like Dashboard, SavedQuery, Dataset, Database, and Log, plus `can dashboard` and `can explore json` on Superset, and datasource access for the datasets behind your charts. If these permissions are missing, the API can return an empty result set or a 403 error instead of listing charts. You can configure these permissions in the Settings > Roles section of Superset’s UI. Ownership, tags, or filters can also restrict chart visibility, so check if your role is limited to specific assets or users. More details on permissions and troubleshooting are available [here](https://github.com/apache/superset/issues/34587) and [here](https://github.com/apache/superset/blob/master/superset/charts/api.py). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/bca24dad-6fc0-48fc-915c-ff70d690d18f?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/bca24dad-6fc0-48fc-915c-ff70d690d18f?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/bca24dad-6fc0-48fc-915c-ff70d690d18f?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/bca24dad-6fc0-48fc-915c-ff70d690d18f?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/bca24dad-6fc0-48fc-915c-ff70d690d18f?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/bca24dad-6fc0-48fc-915c-ff70d690d18f?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/bca24dad-6fc0-48fc-915c-ff70d690d18f?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/35660) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
