mistercrunch commented on a change in pull request #8960: fix: shut off 
unneeded endpoints
URL: 
https://github.com/apache/incubator-superset/pull/8960#discussion_r368236899
 
 

 ##########
 File path: superset/security/manager.py
 ##########
 @@ -76,6 +78,13 @@ def __init__(self, **kwargs):
 PermissionViewModelView.list_widget = SupersetSecurityListWidget
 PermissionModelView.list_widget = SupersetSecurityListWidget
 
+# Limiting routes on FAB model views
+UserModelView.include_route_methods = CRUD_ROUTE_METHODS | {"userinfo"}
 
 Review comment:
   This is referenced in top menu, let's sort this out in another PR that may 
remove that functionality. Trying to limit this PR to "endpoints we have high 
confidence that we don't need"

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