You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2022/08/29 22:02:15 UTC

[superset] 02/02: working migration

This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch data-ia-navbar-2
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 0ee4b004c9ae49b340b2e084f28964d00bce0115
Author: hughhhh <hu...@gmail.com>
AuthorDate: Mon Aug 29 15:01:43 2022 -0700

    working migration
---
 .../2022-08-29_13-28_dcbe046eaf44_update_sqllab_permissions_views.py  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/superset/migrations/versions/2022-08-29_13-28_dcbe046eaf44_update_sqllab_permissions_views.py b/superset/migrations/versions/2022-08-29_13-28_dcbe046eaf44_update_sqllab_permissions_views.py
index cf66ef99de..f124847b41 100644
--- a/superset/migrations/versions/2022-08-29_13-28_dcbe046eaf44_update_sqllab_permissions_views.py
+++ b/superset/migrations/versions/2022-08-29_13-28_dcbe046eaf44_update_sqllab_permissions_views.py
@@ -38,8 +38,8 @@ down_revision = "6d3c6f9d665d"
 
 
 PVM_MAP = {
-    Pvm("SQL Lab", "menu_access"): (Pvm("SQL", "menu_access"),),
-    Pvm("SQL Editor", "menu_access"): (Pvm("SQL Lab", "menu_access"),),
+    Pvm("menu_access", "SQL Lab"): (Pvm("menu_access", "SQL"),),
+    Pvm("menu_access", "SQL Editor"): (Pvm("menu_access", "SQL Lab"),),
 }