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:13:02 UTC
Re: [D] Anonymous access to dashboard [superset]
GitHub user dosubot[bot] edited a comment on the discussion: Anonymous access to dashboard
<!-- Answer -->
In Superset 5.0.0, to make a dashboard accessible without login, you need to set PUBLIC_ROLE_LIKE = "Public" (or "Gamma") in your superset_config.py in addition to AUTH_ROLE_PUBLIC and DASHBOARD_RBAC. Without PUBLIC_ROLE_LIKE, the Public role is empty and anonymous access will always be denied—even if you manually assign permissions, as these are overwritten on init or restart.
So, add this to your config:
```python
PUBLIC_ROLE_LIKE = "Public"
```
or, if you want Gamma-like (read-only) permissions:
```python
PUBLIC_ROLE_LIKE = "Gamma"
```
Then run `superset init` and restart the service. Make sure the dashboard is published, the Public role is assigned to it, and the Public role has datasource access to all datasets used by the dashboard.
If you still see "Access is Denied", double-check that the Public role has explicit access to every dataset used in the dashboard—dataset permissions are still required even with DASHBOARD_RBAC enabled. There was also a recent bug where the backend expected a `dashboardId` field but the frontend sent `dashboards`; if you’re on the latest 5.0.0 release, this should be fixed, but if not, you may need to patch or update Superset for proper RBAC logic to apply [[source]](https://github.com/apache/superset/pull/36548) [[source]](https://github.com/apache/superset/discussions/36009) [[source]](https://github.com/apache/superset/issues/31938).
After making these changes, anonymous users should be able to access the dashboard as intended.
<!-- 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=bd555532-a5da-4364-b0d9-40a400b813bc) [](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/37573#discussioncomment-15650550
----
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