gaurav1999 commented on a change in pull request #9458: [WIP]: Simplify 
superset permissions
URL: 
https://github.com/apache/incubator-superset/pull/9458#discussion_r403727066
 
 

 ##########
 File path: superset/views/database/api.py
 ##########
 @@ -113,12 +114,20 @@ class DatabaseRestApi(DatabaseMixin, 
BaseSupersetModelRestApi):
     datamodel = SQLAInterface(Database)
 
     include_route_methods = {"get_list", "table_metadata", "select_star"}
-    class_permission_name = "DatabaseView"
-    method_permission_name = {
+
 
 Review comment:
   @mistercrunch Had a doubt, Was wondering if this should be bundled in with 
the permission "Database"

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


With regards,
Apache Git Services

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

Reply via email to