GitHub user dosubot[bot] added a comment to the discussion: Direct dashboards without requiring a username and password from the superset.
<!-- Answer --> To allow anonymous users (the Public role) to view a dashboard without logging in, you need to do two things: 1. Make sure your dashboard is published and assign the Public role to it in the dashboard's access settings. 2. Grant the Public role access to the specific datasets used by the dashboard. This is required even with `PUBLIC_ROLE_LIKE = "Gamma"`—otherwise, the dashboard will load but show errors for missing data sources. The essential permissions for the Public role are already handled by the Gamma template: read-only access to dashboards, charts, and datasets (like `can_show`, `can_list`, `can_read`). Avoid giving write or admin permissions (such as `can_add`, `can_edit`, `can_delete`, `can_save`, or `all_datasource_access`) to keep things secure. Menu access for navigation (Databases, Datasets, Data, Charts, Dashboards) is also included. You do not need to manually select every permission—just ensure the Public role is assigned to the dashboard and has access to the datasets it uses. For details, see [the official docs](https://github.com/apache/superset/blob/master/docs/docs/security/security.mdx) and [this dashboard access test](https://github.com/apache/superset/blob/master/tests/integration_tests/dashboard_tests.py). If you want to double-check, open Security → Roles → Public, and confirm it lists the dashboard and datasets you want public. That's all you need for direct dashboard access without Superset login. <!-- 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/a4da3e7b-7a73-48ae-9f01-180c09bc3b90?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/a4da3e7b-7a73-48ae-9f01-180c09bc3b90?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/a4da3e7b-7a73-48ae-9f01-180c09bc3b90?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/a4da3e7b-7a73-48ae-9f01-180c09bc3b90?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/a4da3e7b-7a73-48ae-9f01-180c09bc3b90?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/a4da3e7b-7a73-48ae-9f01-180c09bc3b90?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/a4da3e7b-7a73-48ae-9f01-180c09bc3b90?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/36009) GitHub link: https://github.com/apache/superset/discussions/36009#discussioncomment-14885209 ---- 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]
