Remove edit options for public role (non login) using PUBLIC_ROLE_LIKE = 'Gamma' #25938
Replies: 3 comments 1 reply
-
I think you can either edit the granular permissions of the Gamma role, or create a new role (e.g. "Public") and set PUBLIC_ROLE_LIKE = "Public". CC @dpgaspar to fact check me on this. Either way, this seems more like a regular issue than a SIP, or potentially a GitHub Discussion |
Beta Was this translation helpful? Give feedback.
-
@leandroembu I have set PUBLIC_ROLE_LIKE but I can't share dashboard to others without authentication. What is superset version that u use? |
Beta Was this translation helpful? Give feedback.
-
I have had good luck with using DASHBOARD_RBAC and then adding the Public role to dashboards that I want to be public. (This is instead of PUBLIC_ROLE_LIKE). My Public role has a set of permissions that was based on this: https://gist.github.com/byk0t/bd6e9c3839967b4ac28a8da30f468b2a Start with those and see if it lets you do what you need to and nothing more? Also agreed with Evan that this is more of a Discussion than a bug report for Superset, so I'm going to convert it. Let's keep discussing there though. |
Beta Was this translation helpful? Give feedback.
-
[SIP] Proposal for Remove edit options for public role (non login) using PUBLIC_ROLE_LIKE = 'Gamma'
Motivation
Uging PUBLIC_ROLE_LIKE = 'Gamma' we can access dashboards and charts from anywhere without login, but Gamma role shows some uneeded options like "edit chart".
Proposed Change
Create a simple way to grant read options to Public role without making Public act like Gamma.
Beta Was this translation helpful? Give feedback.
All reactions