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 reliable because, if you have PUBLIC_ROLE_LIKE set in your config, Superset will automatically overwrite any manual edits to the Public role whenever you run superset init or upgrade Superset. This is by design: superset init synchronizes the Public role's permissions to match the role specified by PUBLIC_ROLE_LIKE, ensuring consistency and security. If you want your manual changes to persist, you must either not set PUBLIC_ROLE_LIKE, or use a custom role for both PUBLIC_ROLE_LIKE and AUTH_ROLE_PUBLIC instead of "Public" [see details](https://github.com/apache/superset/pull/36548). <!-- 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/92865620-37d4-4b43-8107-0ee42ae658f4?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/92865620-37d4-4b43-8107-0ee42ae658f4?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/92865620-37d4-4b43-8107-0ee42ae658f4?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/92865620-37d4-4b43-8107-0ee42ae658f4?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/92865620-37d4-4b43-8107-0ee42ae658f4?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/92865620-37d4-4b43-8107-0ee42ae658f4?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/92865620-37d4-4b43-8107-0ee42ae658f4?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github) [](https://cursor.com/link/prompt?text=Manual%20changes%20to%20the%20Public%20role%20permissions%20in%20the%20UI%20are%20not%20reliable%20because%2C%20if%20you%20have%20PUBLIC_ROLE_LIKE%20set%20in%20your%20config%2C%20Superset%20will%20automatically%20overwrite%20any%20manual%20edits%20to%20the%20Public%20role%20whenever%20you%20run%20superset%20init%20or%20upgrade%20Superset.%20This%20is%20by%20design%3A%20superset%20init%20synchronizes%20the%20Public%20role%27s%20permissions%20to%20match%20the%20role%20specified%20by%20PUBLIC_ROLE_LIKE%2C%20ensuring%20consistency%20and%20security.%20If%20you%20want%20your%20manual%20changes%20to%20persist%2C%20you%20must%20either%20not%20set%20PUBLIC_ROLE_LIKE%2C%20or%20use%20a%20custom%20role%20for%20both%20PUBLIC_ROLE_LIKE%20and%20AUTH_ROLE_PUBLIC%20in stead%20of%20%22Public%22%C2%A0%5Bsee%20details%5D%28https%3A//github.com/apache/superset/pull/36548%29.) [](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/37660) GitHub link: https://github.com/apache/superset/discussions/37660#discussioncomment-15693370 ---- 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]
