GitHub user dosubot[bot] added a comment to the discussion: Multi-Tenant User management
<!-- Answer --> The /api/v1/security/roles/ endpoint is implemented in the RoleRestAPI class in superset/security/api.py. All the logic for listing, filtering, and returning roles is in this class, mainly in the get_list method. The API is registered and exposed via Flask AppBuilder in superset/initialization/__init__.py, which makes it available under /api/v1/security/roles/ as part of the Superset API suite. You can see the implementation details here: [superset/security/api.py (RoleRestAPI)](https://github.com/apache/superset/blob/308007f909b5a3c1cdd6fc5632ef27ca7eb97ce0/superset/security/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/860c9ad7-5486-4038-ae0b-89147edcbcf9?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/860c9ad7-5486-4038-ae0b-89147edcbcf9?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/860c9ad7-5486-4038-ae0b-89147edcbcf9?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/860c9ad7-5486-4038-ae0b-89147edcbcf9?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/860c9ad7-5486-4038-ae0b-89147edcbcf9?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/860c9ad7-5486-4038-ae0b-89147edcbcf9?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/860c9ad7-5486-4038-ae0b-89147edcbcf9?feedback_type=other)</sup> [](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/discussions/33877) GitHub link: https://github.com/apache/superset/discussions/33877#discussioncomment-13636235 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
