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

<!-- Answer -->
Yes, using PUBLIC_ROLE_LIKE and running superset init is mandatory for reliable 
public (anonymous) dashboard access. Manual changes you make to the Public role 
in the UI are overwritten whenever you run superset init or upgrade Superset, 
so UI-only configuration is not sufficient or persistent. PUBLIC_ROLE_LIKE 
copies permissions from a built-in role (like "Public" or "Gamma") to the 
Public role during initialization, which is what actually enables anonymous 
access to dashboards. You still need to manually grant access to specific 
datasets, but the base permissions must be set via PUBLIC_ROLE_LIKE and 
superset init for public access to work as intended 
[source](https://github.com/apache/superset/discussions/37641).


<!-- 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/b2ecf20d-99ff-4aaa-bc9a-b9a06c5d048b?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/b2ecf20d-99ff-4aaa-bc9a-b9a06c5d048b?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/b2ecf20d-99ff-4aaa-bc9a-b9a06c5d048b?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/b2ecf20d-99ff-4aaa-bc9a-b9a06c5d048b?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/b2ecf20d-99ff-4aaa-bc9a-b9a06c5d048b?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/b2ecf20d-99ff-4aaa-bc9a-b9a06c5d048b?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/b2ecf20d-99ff-4aaa-bc9a-b9a06c5d048b?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=Yes%2C%20using%20PUBLIC_ROLE_LIKE%20and%20running%20superset%20init%20is%20mandatory%20for%20reliable%20public%20%28anonymous%29%20dashboard%20access.%20Manual%20changes%20you%20make%20to%20the%20Public%20role%20in%20the%20UI%20are%20overwritten%20whenever%20you%20run%20superset%20init%20or%20upgrade%20Superset%2C%20so%20UI-only%20configuration%20is%20not%20sufficient%20or%20persistent.%20PUBLIC_ROLE_LIKE%20copies%20permissions%20from%20a%20built-in%20role%20%28like%20%22Public%22%20or%20%22Gamma%22%29%20to%20the%20Public%20role%20during%20initialization%2C%20which%20is%20what%20actually%20enables%20anonymous%20access%20to%20dashboards.%20You%20still%20need%20to%20manually%20grant%20access%20to%20specific%20datasets%2C%20but%20the%20base%20permissions
 
%20must%20be%20set%20via%20PUBLIC_ROLE_LIKE%20and%20superset%20init%20for%20public%20access%20to%20work%20as%20intended%20%5Bsource%5D%28https%3A//github.com/apache/superset/discussions/37641%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-15692063

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