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

sfirke pushed a commit to branch public_can_read_theme
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/public_can_read_theme by this 
push:
     new bb26b5eb11 Allow Public role to read themes
bb26b5eb11 is described below

commit bb26b5eb11ba79f6c6950d085b647e6adf7cdc0b
Author: Sam Firke <[email protected]>
AuthorDate: Tue Jan 20 16:38:05 2026 -0500

    Allow Public role to read themes
---
 superset/security/manager.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/superset/security/manager.py b/superset/security/manager.py
index 1a3532f262..57e541cbca 100644
--- a/superset/security/manager.py
+++ b/superset/security/manager.py
@@ -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

Reply via email to