superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grace...@apache.org
Subject [incubator-superset] branch master updated: fix the slice permission issue after user click-edit new slice title (#3711)
Date Tue, 24 Oct 2017 18:19:56 GMT
This is an automated email from the ASF dual-hosted git repository.

graceguo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 4967342  fix the slice permission issue after user click-edit new slice title (#3711)
4967342 is described below

commit 4967342362ab1d6b25f1f4745533702bb540c454
Author: Grace Guo <grace.guo@airbnb.com>
AuthorDate: Tue Oct 24 11:19:51 2017 -0700

    fix the slice permission issue after user click-edit new slice title (#3711)
---
 superset/views/core.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/views/core.py b/superset/views/core.py
index aca7714..7acce42 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -1213,7 +1213,7 @@ class Superset(BaseSupersetView):
             "can_add": slice_add_perm,
             "can_download": slice_download_perm,
             "can_overwrite": is_owner(slc, g.user),
-            'form_data': form_data,
+            'form_data': slc.form_data,
             'slice': slc.data,
         }
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@superset.apache.org" <commits@superset.apache.org>'].

Mime
View raw message