robdiciuccio commented on a change in pull request #11499:
URL: 
https://github.com/apache/incubator-superset/pull/11499#discussion_r537847017



##########
File path: superset/views/core.py
##########
@@ -483,6 +492,43 @@ def annotation_json(  # pylint: disable=no-self-use
         payload = viz_obj.get_payload()
         return 
data_payload_response(*viz_obj.payload_json_and_has_error(payload))
 
+    @event_logger.log_this
+    @api
+    @has_access_api
+    @handle_api_exception
+    @permission_name("explore_json")
+    @expose("/explore_json/data/<cache_key>", methods=["GET"])

Review comment:
       New API endpoint for fetching cached chart data, as well as cached 
`form_data` in order to do request-time permission checks.




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

Reply via email to