You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "dosubot[bot] (via GitHub)" <gi...@apache.org> on 2026/05/02 03:18:44 UTC
Re: [D] How to Restrict access to supserset Dashboards/Charts with proper authentication [superset]
GitHub user dosubot[bot] edited a comment on the discussion: How to Restrict access to supserset Dashboards/Charts with proper authentication
<!-- Answer -->
You do not need to manually add users to the `EmbedGuest` role when you set `GUEST_ROLE_NAME = "EmbedGuest"`. When a user accesses a Superset dashboard via the embedded SDK and presents a valid guest token, Superset automatically assigns the user to the role specified by `GUEST_ROLE_NAME` for the duration of that session. This works similarly to how the `Public` role is automatically assigned to unauthenticated users—no manual user assignment is required for either case. The guest token mechanism handles the role assignment behind the scenes, so as long as your guest tokens are generated correctly and reference the right role, users will receive the permissions of `EmbedGuest` automatically [reference](https://github.com/apache/superset/issues/26201).
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).*
---
Share context across your team and agents. Try [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-tagline&utm_term=apache%2Fsuperset).
[](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-feedback&utm_term=apache%2Fsuperset&message_id=76bdd2c2-a51e-4e1f-ab25-023d9d706b1e) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-learn-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-add-team&utm_term=apache%2Fsuperset)
GitHub link: https://github.com/apache/superset/discussions/33674#discussioncomment-13363691
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org