You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by en...@apache.org on 2026/03/06 16:06:19 UTC

(superset) 01/01: fix(embedded): add CurrentUserRestApi read permission to Public role

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

enzomartellucci pushed a commit to branch enxdev/fix/embedded-public-role-missing-permissions
in repository https://gitbox.apache.org/repos/asf/superset.git

commit e5bb7d07c5c00927f69bdbfb7c615471cb04829e
Author: Enzo Martellucci <en...@gmail.com>
AuthorDate: Fri Mar 6 17:05:51 2026 +0100

    fix(embedded): add CurrentUserRestApi read permission to Public role
---
 superset/security/manager.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset/security/manager.py b/superset/security/manager.py
index 9f97c810d77..6af83a4537a 100644
--- a/superset/security/manager.py
+++ b/superset/security/manager.py
@@ -424,6 +424,7 @@ class SupersetSecurityManager(  # pylint: disable=too-many-public-methods
         ("can_read", "Theme"),
         # Embedded dashboard support
         ("can_read", "EmbeddedDashboard"),
+        ("can_read", "CurrentUserRestApi"),
         # Datasource metadata for chart rendering
         ("can_get", "Datasource"),
         ("can_external_metadata", "Datasource"),