anuragKss commented on issue #38185:
URL: https://github.com/apache/superset/issues/38185#issuecomment-3944142270

   we are giving these {
       "read_only": [
           [
               "can_read",
               "Chart"
           ],
           [
               "can_read",
               "Dataset"
           ],
           [
               "can_read",
               "SavedQuery"
           ],
           [
               "can_read",
               "Dashboard"
           ],
           [
               "can_read",
               "Database"
           ],
           [
               "can_read",
               "Query"
           ],
           [
               "can_read",
               "AdvancedDataType"
           ],
           [
               "can_read",
               "DashboardFilterStateRestApi"
           ],
           [
               "can_read",
               "EmbeddedDashboard"
           ],
           [
               "can_read",
               "ExploreFormDataRestApi"
           ],
           [
               "can_read",
               "ExplorePermalinkRestApi"
           ],
           [
               "can_read",
               "SQLLab"
           ],
           [
               "can_read",
               "SqlLabPermalinkRestApi"
           ],
           [
               "can_read",
               "security"
           ],
           [
               "can_log",
               "Superset"
           ],
           [
               "can_read",
               "user"
           ],
           [
               "can_read",
               "SecurityRestApi"
           ],
           [
               "all_datasource_access",
               "all_datasource_access"
           ],
           [
               "all_database_access",
               "all_database_access"
           ],
           [
               "all_query_access",
               "all_query_access"
           ],
           [
               "can_grant_guest_token",
               "SecurityRestApi"
           ],
           [
               "can_list_roles",
               "RoleRestAPI"
           ],
           [
               "can_list",
               "UserRegistrationsRestAPI"
           ],
           [
               "can_query_form_data",
               "Api"
           ],
           [
               "can_list_role_permissions",
               "Role"
           ],
           [
               "can_list",
               "RoleModelView"
           ],
           [
               "can_list",
               "SavedQuery"
           ],
           [
               "can_list",
               "UserDBModelView"
           ],
           [
               "can_list",
               "UserGroupModelView"
           ],
           [
               "can_list",
               "AsyncEventsRestApi"
           ],
           [
               "can_list",
               "DynamicPlugin"
           ],
           [
               "can_get_embedded",
               "Dashboard"
           ],
           [
               "can_dashboard",
               "Superset"
           ],
           [
               "can_explore_json",
               "Superset"
           ],
           [
               "can_time_range",
               "Api"
           ],
           [
               "can_csv",
               "Superset"
           ],
           [
               "can_dashboard_permalink",
               "Superset"
           ],
           [
               "can_explore",
               "Superset"
           ],
           [
               "can_export",
               "Chart"
           ],
           [
               "can_export",
               "Dashboard"
           ],
           [
               "can_fetch_datasource_metadata",
               "Superset"
           ],
           [
               "can_get",
               "Datasource"
           ],
           [
               "can_get",
               "Permission"
           ],
           [
               "can_get",
               "Role"
           ],
           [
               "can_read",
               "Row Level Security"
           ],
           [
               "can_read",
               "RowLevelSecurity"
           ]
       ]
   } permissions to the read_only role and assigned the GUEST_ROLE_NAME = 
"read_only" in superset config file . The dashboard we are trying to fetch is 
published, but the charts and the dataset api got failed.
   
   <img width="938" height="247" alt="Image" 
src="https://github.com/user-attachments/assets/72d65d46-2a8b-47b3-b0a9-4c63d6af3c0a";
 />
   
   <img width="615" height="235" alt="Image" 
src="https://github.com/user-attachments/assets/f4c5b3b8-f6fa-4cd5-8ef0-2df74fc13bde";
 />


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to