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

 ##########
 File path: superset/views/annotations.py
 ##########
 @@ -46,6 +46,9 @@ class AnnotationModelView(
     SupersetModelView, DeleteMixin
 ):  # pylint: disable=too-many-ancestors
     datamodel = SQLAInterface(Annotation)
+
+    class_permission_name = "Annotation"
 
 Review comment:
   Not sure about this Output either
   
   ![Uploading Screenshot from 2020-04-03 04-30-45.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.
 
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