GitHub user dosubot[bot] added a comment to the discussion: Multi-Tenant User management
<!-- Answer --> You're right—the RoleRestAPI class is not present in superset/security/api.py in recent Superset releases like 5.0.0 and 54.1.2. This is due to a refactor: role management APIs (including the /api/v1/security/roles/ endpoint) have been migrated and are now handled by new classes, such as SupersetRoleApi, which are referenced in superset/security/manager.py. The API structure and registration have changed, but the endpoint for roles still exists—just under a different implementation. This change is part of ongoing efforts to modernize and modularize Superset’s API codebase. If you’re looking for the current implementation, check for SupersetRoleApi or similar classes in the security or manager modules in these releases. If you need to customize or extend role management, you’ll want to work with these new classes instead of RoleRestAPI. <!-- 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/9c045239-2a89-4cfc-8154-44a4dd2cb398?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/9c045239-2a89-4cfc-8154-44a4dd2cb398?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/9c045239-2a89-4cfc-8154-44a4dd2cb398?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/9c045239-2a89-4cfc-8154-44a4dd2cb398?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/9c045239-2a89-4cfc-8154-44a4dd2cb398?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/9c045239-2a89-4cfc-8154-44a4dd2cb398?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/9c045239-2a89-4cfc-8154-44a4dd2cb398?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-13636553 ---- 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]
