GitHub user dosubot[bot] added a comment to the discussion: public dashboard 
not working

<!-- Answer -->
A few things to check for public dashboards in Superset v5 with Docker Compose:

1. Make sure your config is in 
./docker/pythonpath_dev/superset_config_docker.py on your host, not just 
superset_config.py. Superset in Docker Compose only loads overrides from this 
location by default. After placing it there, run docker compose down -v and 
docker compose up to fully reload the config. If the config isn’t loaded, 
PUBLIC_ROLE_LIKE and feature flags won’t take effect 
[[source]](https://github.com/apache/superset/issues/33702).

2. The dashboard must be published (not in draft) and have the Public role 
assigned in its properties. If it’s not published, it won’t be accessible even 
with the right role 
[[source]](https://github.com/apache/superset/discussions/31949).

3. Some users found that adding the "can write on dashboard" permission to the 
Public role fixed unexpected login prompts, due to frontend PUT requests 
failing with 403 errors. You can check and add this permission in Security > 
List Roles > Public [[source]](https://github.com/apache/superset/issues/32836).

4. If you’re embedding dashboards or using iframes, check for CSP or 
X-Frame-Options headers that might block access, especially if you use a 
reverse proxy [[source]](https://github.com/apache/superset/issues/31434).

If you’ve done all this and it’s still not working, check the logs for 
permission or config loading errors when accessing the dashboard without 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/2b06ccbd-196d-40cc-a3db-ca31251cffba?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/2b06ccbd-196d-40cc-a3db-ca31251cffba?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/2b06ccbd-196d-40cc-a3db-ca31251cffba?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/2b06ccbd-196d-40cc-a3db-ca31251cffba?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/2b06ccbd-196d-40cc-a3db-ca31251cffba?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/2b06ccbd-196d-40cc-a3db-ca31251cffba?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/2b06ccbd-196d-40cc-a3db-ca31251cffba?feedback_type=other)</sup>&nbsp;&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Sh
 are on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/34050)

GitHub link: 
https://github.com/apache/superset/discussions/34050#discussioncomment-13650877

----
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]

Reply via email to