-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
Show only Slices and Dashboards users have access to #404
Conversation
|
Coverage decreased (-0.4%) to 80.362% when pulling dd824c83ea26f7a12ec6428ba957ab6108f8c195 on mistercrunch:security into c0fb9ee on airbnb:master. |
* Many to many owners for slices and dashboards * Slices are filtered to only slices that the user has access to
|
@mistercrunch |
|
I'm planning on making it such that only object owners can alter dashboards and slices. This PR added the possibility to add many owners to a dashboard or slice, but that is not taken into account yet. I opened issues to ask the Flask AppBuilder project on advice on how to implement that |
So in your plan it is only for the access control of editing dashboards/slices, right? Do you think it is good to have the view access control on whether a user can see a certain dashboard/slice, maybe like #357 ? Is it in any of your plans? |
Hi @x4base, I guess that @mistercrunch is going to finish the edit permissions first and them extend for view permissions once we have the edit fixed. But that sure is needed to deploy here at our company too so I'm keeping this issue on my bookmarks. |
can anybody confirm that has this issue been fixed or not? #1434 I am facing the same issue with superset v 0.25.6. The issue still persists as the user seeing all the datasources in chart drop down that he has no access to. I have given user the gamma role and new role that only has permission to a single datasource. |
@hamidmahmoodnbs seems like the slices/dashboard/schema filtering works. But the databases themselves are not filtered based on roles/permissions. On load of the SQL editor all databases are returned. Even if you have a role such as |
@mistercrunch databases are not being filtered at all. Every user is returned all databases. Even if they only have a role such as |
@michellethomas @williaster