This is an automated email from the ASF dual-hosted git repository. hugh pushed a commit to branch add-userinfo-sqllab in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
commit 14b2a71b05c282107bddfd2cfbc6d0d83539e503 Author: hughhhh <[email protected]> AuthorDate: Thu Nov 19 17:45:26 2020 -0800 linting --- superset/views/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/superset/views/core.py b/superset/views/core.py index fbfac7c..e12e50c 100755 --- a/superset/views/core.py +++ b/superset/views/core.py @@ -2729,6 +2729,8 @@ class Superset(BaseSupersetView): # pylint: disable=too-many-public-methods payload["requested_query"] = json.loads(form_data) except json.JSONDecodeError: pass + + payload["user"] = bootstrap_user_data(g.user) bootstrap_data = json.dumps( payload, default=utils.pessimistic_json_iso_dttm_ser )
