suddjian commented on a change in pull request #10288:
URL:
https://github.com/apache/incubator-superset/pull/10288#discussion_r546194904
##########
File path: superset/security/manager.py
##########
@@ -109,7 +109,12 @@ class SupersetSecurityManager( # pylint:
disable=too-many-public-methods
SecurityManager
):
userstatschartview = None
- READ_ONLY_MODEL_VIEWS = {"DatabaseAsync", "DatabaseView",
"DruidClusterModelView"}
+ READ_ONLY_MODEL_VIEWS = {
+ "DatabaseAsync",
+ "DatabaseView",
+ "DruidClusterModelView",
+ "DynamicPlugin",
Review comment:
this makes it so that only admins can write to dynamic plugins endpoints
----------------------------------------------------------------
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]