fix(roles): allow Public role to read themes (#37295)

This commit is contained in:
Sam Firke
2026-01-21 13:52:42 -05:00
committed by GitHub
parent 13013bbd64
commit 2c1a33fd32

View File

@@ -433,8 +433,9 @@ class SupersetSecurityManager( # pylint: disable=too-many-public-methods
("can_time_range", "Api"),
("can_query_form_data", "Api"),
("can_query", "Api"),
# CSS for dashboard styling
# CSS and themes for dashboard styling
("can_read", "CssTemplate"),
("can_read", "Theme"),
# Embedded dashboard support
("can_read", "EmbeddedDashboard"),
# Datasource metadata for chart rendering