From 8fc4c5005003a7ff182a4ff8d5d2d4d01bdd0b36 Mon Sep 17 00:00:00 2001 From: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Date: Wed, 18 Sep 2024 17:43:22 -0700 Subject: [PATCH] fix(migration): 87d38ad83218 failing on upgrade (#30275) (cherry picked from commit 78099b0d1fc3902c17aa6ca7fe8471caa524307c) --- ..._17-13_87d38ad83218_migrate_can_view_and_drill_permission.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/migrations/versions/2024-02-07_17-13_87d38ad83218_migrate_can_view_and_drill_permission.py b/superset/migrations/versions/2024-02-07_17-13_87d38ad83218_migrate_can_view_and_drill_permission.py index 175822cc25e99..1fc4158357dbd 100644 --- a/superset/migrations/versions/2024-02-07_17-13_87d38ad83218_migrate_can_view_and_drill_permission.py +++ b/superset/migrations/versions/2024-02-07_17-13_87d38ad83218_migrate_can_view_and_drill_permission.py @@ -38,7 +38,7 @@ Pvm, ) -NEW_PVMS = {"Dashboard": ("can_view_chart_as_table",)} +NEW_PVMS = {"Dashboard": ("can_view_chart_as_table", "can_view_query")} PVM_MAP = { Pvm("Dashboard", "can_view_and_drill"): (