benjamin-mueller commented on issue #18634: URL: https://github.com/apache/superset/issues/18634#issuecomment-1249071330
The error is in [superset/security/manager.py](https://github.com/apache/superset/blob/master/superset/security/manager.py#L1926) in the **has_rbac_access** function ``` def has_rbac_access() -> bool: return (not is_feature_enabled("DASHBOARD_RBAC")) or any( dashboard_role.id in [user_role.id for user_role in self.get_user_roles()] for dashboard_role in dashboard.roles ) ``` Delete the "not" and everything works as expected. Sorry, first post here, have to read up on how to officially post such things. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
