GitHub user user1500177 added a comment to the discussion: Best Way to Attach Dashboard RBAC Roles Automatically in Superset
@dosu Could you explain the way if i enable the FAB_ADD_SECURITY_API = True?? , and HOW to use it to attach the role "Gamma" to all those dashboards? (Could you give the endpoints to which i have to make requests ? and the detailed STEPS for that method, will the access_token and the csrf_token be needed in such a case too- I suppose YES) @RyanAccuWebCloud , I had enabled the RLS feature also , the user gets the permission based on that for the datasets , but i have actually stripped of some permissions of the gamma role and actually made a new role based on that -so as to make such a user not able to edit or upload dashboards etc. But i need that user to be able to see all the dashboards for that i Think that the dashboards should be tagged with the role name in the edit properties of dashboard, Which is why i am doing this. Please feel free to correct me if i am wrong , And if you have an idea about adding a Specific role in the properties of the dashboard AUTOMATICALLY , otherwise the admin has to do this for all the dashboard each time. By what dosu said i find that the API method would be nice to have (But i need additional info on how to do this also - Any help would be appreciated.) GitHub link: https://github.com/apache/superset/discussions/35570#discussioncomment-14632443 ---- 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]
