GitHub user dosubot[bot] added a comment to the discussion: How to restrict visible users and roles in dashboard ownership/visibility dropdowns for specific custom roles?
<!-- Answer --> Great catch! Consistent role mapping between your IdP (like Keycloak) and Superset is crucial for access control and filtering to work as expected. Using `AUTH_ROLES_MAPPING` is the right way to decouple and align external and internal role names. If you run into any more multi-tenant or role-based filtering questions, just let me know! <!-- 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/8dd5b5b1-681a-4df2-8e69-197889c21810?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/8dd5b5b1-681a-4df2-8e69-197889c21810?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/8dd5b5b1-681a-4df2-8e69-197889c21810?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/8dd5b5b1-681a-4df2-8e69-197889c21810?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/8dd5b5b1-681a-4df2-8e69-197889c21810?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/8dd5b5b1-681a-4df2-8e69-197889c21810?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/8dd5b5b1-681a-4df2-8e69-197889c21810?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github) [](https://cursor.com/link/prompt?text=Great%20catch%21%20Consistent%20role%20mapping%20between%20your%20IdP%20%28like%20Keycloak%29%20and%20Superset%20is%20crucial%20for%20access%20control%20and%20filtering%20to%20work%20as%20expected.%20Using%20%60AUTH_ROLES_MAPPING%60%20is%20the%20right%20way%20to%20decouple%20and%20align%20external%20and%20internal%20role%20names.%20If%20you%20run%20into%20any%20more%20multi-tenant%20or%20role-based%20filtering%20questions%2C%20just%20let%20me%20know%21) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//git hub.com/apache/superset/discussions/37133) GitHub link: https://github.com/apache/superset/discussions/37133#discussioncomment-15498655 ---- 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]
