mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Access control: hide team role picker if user doesn't have access to it (#45068)
* hide team role column * hide or disable the role picker as needed * add SWL filtering for role listing
This commit is contained in:
@@ -60,6 +60,9 @@ export enum AccessControlAction {
|
||||
|
||||
ActionRolesList = 'roles:list',
|
||||
ActionBuiltinRolesList = 'roles.builtin:list',
|
||||
ActionTeamsRolesList = 'teams.roles:list',
|
||||
ActionTeamsRolesAdd = 'teams.roles:add',
|
||||
ActionTeamsRolesRemove = 'teams.roles:remove',
|
||||
ActionUserRolesList = 'users.roles:list',
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user