-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document common role / access / security patterns #366
Comments
The way to resolve this is:-
It seems issue occurs when we create a new user and assign only |
Public isn't really usable, I should delete it. Gamma works but you need to give access on a per-datasource basis. I'll try to take a moment to document it. |
I've been looking into what permissions would be neccesary for the 'public' role to provide access to view dashboards. So far, the permissions set:
Solves the TOO_MANY_REDIRECTS error when logging in as a public user, and displays only a dashboard list page. Currently looking at what permission would make some/all dashboards visible to the user. |
@gregroberts any progress on that so far? Would really love to see superset public dashboard view. |
I'm afraid I haven't really made much progress on this, because the only way I can proceed is guesswork. The set of permissions I have on my Public role is as follows:
And what happens on the front end for non logged in users is as follows:
shows the Dashboard list page, but it's empty. Looking at the network calls made, the page calls:
As it does for a logged in user, but no result rows are returned. If the user is given a url for a dashboard, e.g.
The dashboard loads and works perfectly fine. If the user tries to access pretty much any other area of the site, e.g.:
They are redirected to /login This is pretty much all I need for now, and I'm not going to continue because I may be unwittingly poking holes where I don't want them. I think this issue is really important, as it will allow users to really customise access across |
@gregroberts Hi, I have a similar situation where I have to expose embedded dashboards to users without requiring authentication and I tried giving public role dashboard permissions but it doesn't seem to work. please let me if you were able to do this is in superset. |
I can't say anything definitively, and documenting of roles and their meanings is the subject of another open issue, however, if you set the Public role permissions as in my comment above, logged out users should be able to view dashboards if they have the url of the dashboard. |
One requirement is to set |
HI All,
I had earlier created an admin user. And I created Dashboard with it.
Now, I wanted to share it with some other people, so I started testing for suitable user permissions by creating a
new user
and assignedpublic
group to it.Now whenever I open localhost:8088 , it just says localhost redirected you too many times
Can anybody help me here? It seems I am stuck.
I checked the debugger logs
The text was updated successfully, but these errors were encountered: