etr2460 commented on a change in pull request #13992:
URL: https://github.com/apache/superset/pull/13992#discussion_r608980430



##########
File path: superset/security/manager.py
##########
@@ -994,8 +995,14 @@ def raise_for_access(  # pylint: 
disable=too-many-arguments,too-many-branches
 
             assert datasource
 
+            from superset import is_feature_enabled
+
             if not (
-                self.can_access_schema(datasource)
+                (
+                    is_feature_enabled("DASHBOARD_RBAC")

Review comment:
       thanks!




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to