You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by gr...@apache.org on 2017/10/24 18:19:56 UTC

[incubator-superset] branch master updated: fix the slice permission issue after user click-edit new slice title (#3711)

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 <gr...@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" <co...@superset.apache.org>'].