GitHub user prsandeep 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.
Hi @dosu, thanks for the clarification. I’m using Superset v4.1.2 with @superset-ui/embedded-sdk v0.2.0. I’m embedding the dashboard in a React app using Admin credentials to generate the guest token, but the token’s "roles" is currently set to ["Guest"]. I’ll make sure this role has the required permissions (can_drill on Dashboard, can_write on ExploreFormDataRestApi, and can_samples on Datasource). I’ll verify that the charts I’m testing with are supported for Drill By and that there are no version mismatches between the SDK and backend. If I still face issues after setting the permissions, I’ll share the details with you. Thanks for the guidance! GitHub link: https://github.com/apache/superset/discussions/34631#discussioncomment-14068262 ---- 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]
