GitHub user paulsonkevgit created a discussion: Can i remove the view query , 
view as table etc a custom role i created.

I created a role called Gamma_copy , which is alsmost the gamma role with some 
of the roles cut down

Permissions currently
[can show on SavedQuery, can add on SavedQuery, can delete on SavedQuery, can 
edit on SavedQuery, can list on SavedQuery, can tag on Chart, can export on 
Chart, can write on Chart, can read on Chart, can read on Dataset, can recent 
activity on Log, can tag on Dashboard, can drill on Dashboard, can view chart 
as table on Dashboard, can view query on Dashboard, can delete embedded on 
Dashboard, can export on Dashboard, can get embedded on Dashboard, can cache 
dashboard screenshot on Dashboard, can write on Dashboard, can read on 
Dashboard, can read on Database, can this form get on ResetMyPasswordView, can 
this form post on ResetMyPasswordView, userinfoedit on MyUserOAuthModelView, 
can show on MyUserOAuthModelView, can userinfo on MyUserOAuthModelView, can add 
on MyUserOAuthModelView, can delete on MyUserOAuthModelView, can edit on 
MyUserOAuthModelView, can list on MyUserOAuthModelView, can get on OpenApi, can 
show on SwaggerView, can get on MenuApi, can this form get on DashboardModel
 View1, can this form post on DashboardModelView1, can list on 
AsyncEventsRestApi, can read on AdvancedDataType, can read on AvailableDomains, 
can invalidate on CacheRestApi, can write on DashboardFilterStateRestApi, can 
read on DashboardFilterStateRestApi, can write on DashboardPermalinkRestApi, 
can read on DashboardPermalinkRestApi, can get on Datasource, can external 
metadata by name on Datasource, can external metadata on Datasource, can read 
on EmbeddedDashboard, can read on Explore, can write on ExploreFormDataRestApi, 
can read on ExploreFormDataRestApi, can write on ExplorePermalinkRestApi, can 
read on ExplorePermalinkRestApi, can write on Tag, can bulk create on Tag, can 
read on Tag, can estimate query cost on SQLLab, can format sql on SQLLab, can 
show on DynamicPlugin, can list on DynamicPlugin, can query form data on Api, 
can query on Api, can time range on Api, can get value on KV, can store on KV, 
can share chart on Superset, can share dashboard on Superset, can csv on Su
 perset, can dashboard on Superset, can dashboard permalink on Superset, can 
explore json on Superset, can slice on Superset, can log on Superset, can 
explore on Superset, can fetch datasource metadata on Superset, menu access on 
Tags, can list on Tags, can tags on TagView, can read on SecurityRestApi, can 
read on RowLevelSecurity, menu access on User Details, menu access on Home, 
menu access on Data, menu access on Databases, menu access on Dashboards, menu 
access on Charts, menu access on Datasets, menu access on Plugins]

I need to selectively remove the permissions which show the options in the 
below show screenshots - Selected from the dashboards ->individual chart and 
then the three dotted menu..

Need to remove option for
1.Edit chart
2.View query
3.View as table
4.Share option

I WANT TO DO IT WITHOUT THROWING the access i denied error message

<img width="437" height="316" alt="image" 
src="https://github.com/user-attachments/assets/6274cff9-16eb-4126-96f8-992436940820";
 />


GitHub link: https://github.com/apache/superset/discussions/34753

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


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

Reply via email to