GitHub user dosubot[bot] added a comment to the discussion: In Superset’s native UI, the Drill By option appears for charts, but when the same dashboard is embedded into a React application using the Superset Embedded SDK, the Drill By option is missing, even though hasDrillBy is set to true in dashboardUiConfig.
<!-- Answer --> Your plan sounds solid. For Drill By to work in embedded dashboards, the guest token’s role (like "Guest") must have at least these permissions: can_drill on Dashboard, can_write on ExploreFormDataRestApi, and can_samples on Datasource. You can update these in Superset’s Security → List Roles UI: edit your guest role, add the permissions, and save. After making changes, it’s best to sync roles and restart Superset to ensure everything applies correctly. If you want to test quickly, you can temporarily set GUEST_ROLE_NAME to "Admin" in your superset_config.py, confirm Drill By appears, then revert to a more restrictive role with only the needed permissions ([details](https://github.com/apache/superset/issues/25630)). No need to manually assign users to the guest role—the guest token mechanism handles that automatically ([details](https://github.com/apache/superset/discussions/33674)). Let me know if you hit any issues after updating permissions or if you want a step-by-step walkthrough for the UI! <!-- 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/f33d4f46-ecf6-40fe-a402-47bd3e646182?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/f33d4f46-ecf6-40fe-a402-47bd3e646182?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/f33d4f46-ecf6-40fe-a402-47bd3e646182?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/f33d4f46-ecf6-40fe-a402-47bd3e646182?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/f33d4f46-ecf6-40fe-a402-47bd3e646182?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/f33d4f46-ecf6-40fe-a402-47bd3e646182?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/f33d4f46-ecf6-40fe-a402-47bd3e646182?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)& nbsp;[](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/34631) GitHub link: https://github.com/apache/superset/discussions/34631#discussioncomment-14068285 ---- 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]
