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 2018/10/15 21:43:19 UTC
[GitHub] mistercrunch commented on a change in pull request #6113: send
username in sync request
mistercrunch commented on a change in pull request #6113: send username in sync request
URL: https://github.com/apache/incubator-superset/pull/6113#discussion_r225326874
##########
File path: superset/views/core.py
##########
@@ -2565,7 +2565,8 @@ def sql_json(self):
data = sql_lab.get_sql_results(
query_id,
rendered_query,
- return_results=True)
+ return_results=True,
+ user_name=g.user.username)
Review comment:
To be sure, let's `user_name=g.user.username if g.user else None` as some environments may allow anonymous access
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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