Skip to content

Commit 2aa3f8c

Browse files
committed
fix(roles): add missing SQLLab permissions for estimate and format
Signed-off-by: shunki-fujita <[email protected]>
1 parent 062e4a2 commit 2aa3f8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

superset/security/manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,8 @@ class SupersetSecurityManager( # pylint: disable=too-many-public-methods
357357
("can_export_csv", "Query"),
358358
("can_get_results", "SQLLab"),
359359
("can_execute_sql_query", "SQLLab"),
360-
("can_estimate_query_cost", "SQL Lab"),
360+
("can_estimate_query_cost", "SQLLab"),
361+
("can_format_sql", "SQLLab"),
361362
("can_export_csv", "SQLLab"),
362363
("can_read", "SQLLab"),
363364
("can_sqllab_history", "Superset"),

0 commit comments

Comments
 (0)