mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Access control: fetch role options only if user has permissions (#44201)
* Access control: fetch role options only if user has permissions * Fix org/users page
This commit is contained in:
@@ -50,6 +50,10 @@ export enum AccessControlAction {
|
||||
ActionServerStatsRead = 'server.stats:read',
|
||||
|
||||
ActionTeamsCreate = 'teams:create',
|
||||
|
||||
ActionRolesList = 'roles:list',
|
||||
ActionBuiltinRolesList = 'roles.builtin:list',
|
||||
ActionUserRolesList = 'users.roles:list',
|
||||
}
|
||||
|
||||
export interface Role {
|
||||
|
||||
Reference in New Issue
Block a user