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 2020/04/03 15:24:55 UTC

[GitHub] [incubator-superset] mistercrunch commented on a change in pull request #9458: [WIP]: Simplify superset permissions

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

 ##########
 File path: superset/connectors/druid/views.py
 ##########
 @@ -190,6 +196,9 @@ class DruidMetricInlineView(CompactCRUDMixin, SupersetModelView):
 
 class DruidClusterModelView(SupersetModelView, DeleteMixin, YamlExportMixin):
     datamodel = SQLAInterface(models.DruidCluster)
+
+    class_permission_name = "DataSource"
 
 Review comment:
   case is different

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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