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/01/15 17:49:13 UTC

[GitHub] [incubator-superset] willbarrett commented on a change in pull request #8960: fix: shut off unneeded endpoints

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

 ##########
 File path: superset/views/log/views.py
 ##########
 @@ -24,3 +24,4 @@
 
 class LogModelView(LogMixin, SupersetModelView):  # pylint: disable=too-many-ancestors
     datamodel = SQLAInterface(models.Log)
+    include_route_methods = {"list"}
 
 Review comment:
   Unless this is 100% required for application functionality, I would recommend against exposing this information.

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