GitHub user dosubot[bot] added a comment to the discussion: public permalink

<!-- Answer -->
Manual changes to the Public role permissions in the UI are not persistent—they 
will be overwritten the next time you run superset init or upgrade Superset. 
The only supported and reliable way to configure Public role permissions for 
anonymous dashboard access is to set PUBLIC_ROLE_LIKE in your config and then 
run superset init. After that, you still need to manually grant access to the 
specific datasets your dashboard uses, but the base permissions must be set 
this way for public access to work as intended. There is no alternative that is 
both persistent and supported by Superset’s design [see 
docs](https://github.com/apache/superset/blob/master/docs/docs/security/security.mdx)
 [see 
code](https://github.com/apache/superset/blob/master/superset/security/manager.py).


<!-- 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/c73ed6ba-830e-4337-8b62-664ba6240b0c?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/c73ed6ba-830e-4337-8b62-664ba6240b0c?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/c73ed6ba-830e-4337-8b62-664ba6240b0c?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/c73ed6ba-830e-4337-8b62-664ba6240b0c?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/c73ed6ba-830e-4337-8b62-664ba6240b0c?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/c73ed6ba-830e-4337-8b62-664ba6240b0c?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/c73ed6ba-830e-4337-8b62-664ba6240b0c?feedback_type=other)</sup>

[![Chat with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&nbsp;[![Open
 in 
Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=Manual%20changes%20to%20the%20Public%20role%20permissions%20in%20the%20UI%20are%20not%20persistent%E2%80%94they%20will%20be%20overwritten%20the%20next%20time%20you%20run%20superset%20init%20or%20upgrade%20Superset.%20The%20only%20supported%20and%20reliable%20way%20to%20configure%20Public%20role%20permissions%20for%20anonymous%20dashboard%20access%20is%20to%20set%20PUBLIC_ROLE_LIKE%20in%20your%20config%20and%20then%20run%20superset%20init.%20After%20that%2C%20you%20still%20need%20to%20manually%20grant%20access%20to%20the%20specific%20datasets%20your%20dashboard%20uses%2C%20but%20the%20base%20permissions%20must%20be%20set%20this%20way%20for%20public%20access%20to%20work%20as%20intended.%20There%20is%20no%20alternative%20that%20is%20both%20persistent%20a
 
nd%20supported%20by%20Superset%E2%80%99s%20design%C2%A0%5Bsee%20docs%5D%28https%3A//github.com/apache/superset/blob/master/docs/docs/security/security.mdx%29%C2%A0%5Bsee%20code%5D%28https%3A//github.com/apache/superset/blob/master/superset/security/manager.py%29.)&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 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/37660)

GitHub link: 
https://github.com/apache/superset/discussions/37660#discussioncomment-15692465

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