You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/02/09 08:42:10 UTC

[GitHub] [superset] LalaGabor opened a new issue #18634: RBAC not Working

LalaGabor opened a new issue #18634:
URL: https://github.com/apache/superset/issues/18634


   Problem: Role Based Access Control is not enabling users to view Dashboards correctly.
   
   Feature flag enabled: RBAC
   Browser: Firefox
   Superset Version 1.4
   
   Background: I have assigned a user a role AlphaDG (essentially Gamma) and have assigned this role to a dashboard.
   
   Expected outcome: Even though the user has not been assigned access to the underlying dataset(s), this user should be able to see the dashboard.
   
   Actual outcome: The user is not able to see the dashboard (whether published or not)
   
   <img width="923" alt="Gamma User Issue" src="https://user-images.githubusercontent.com/44199231/153157769-f77dc1fe-0590-4ceb-b527-b01897f88601.png">
   
   ![image](https://user-images.githubusercontent.com/44199231/153157909-7272d40d-ffca-4779-ac46-d00321ba535b.png)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] nikhil-kuyya commented on issue #18634: RBAC not Working

Posted by GitBox <gi...@apache.org>.
nikhil-kuyya commented on issue #18634:
URL: https://github.com/apache/superset/issues/18634#issuecomment-1070404041


   DASHBOARD_RBAC is the feature flag you enabled right.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] LalaGabor commented on issue #18634: RBAC not Working

Posted by GitBox <gi...@apache.org>.
LalaGabor commented on issue #18634:
URL: https://github.com/apache/superset/issues/18634#issuecomment-1033503034


   Perhaps I have not included a necessary permissions flag? 
   
   That being said, I have tested user roles who are give all permissions (except datasource access obviously, as this is why I am using RBAC.....)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] srinisubramanian commented on issue #18634: RBAC not Working

Posted by GitBox <gi...@apache.org>.
srinisubramanian commented on issue #18634:
URL: https://github.com/apache/superset/issues/18634#issuecomment-1073508833


   I had a similar issue:
   
   User 1 - has access to a dataset via role AlphaCopy (all datasource access is removed)
   User 2 - has access to same dataset via role GammaCopy
   Dashboard 1 and Dashboard 2 - defined on dataset
   
   Now feature flag is enabled and access is set as follows:
   Dashboard 1 - No specific user set, so all users with access to dataset should have access
   Dashboard 2 - Only Role AlphaCopy has access to it 
   
   Outcome expected: User 1 will have access to Dashboard 1 and Dashboard 2, User 2 will have access to only Dashboard 1
   Actual Result: User 1 and User 2 didn't have access to any dashboards
   
   I then gave specific access to Dashboard 1 to role AlphaCopy and GammaCopy.  Same result
   
   How exactly is the FEATURE FASHBOARD_RBAC supposed to work?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org