Access control: Fix predefined roles (#33260)

This commit is contained in:
Alexander Zobnin 2021-04-22 13:49:24 +03:00 committed by GitHub
parent 36aeb9b9a1
commit dd9f701cd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,6 +121,14 @@ var PredefinedRoles = map[string]RoleDTO{
Action: ActionOrgUsersRoleUpdate,
Scope: ScopeOrgAllUsersAll,
},
{
// Inherited from grafana:roles:users:admin:read
Action: ActionLDAPUsersRead,
},
{
// Inherited from grafana:roles:users:admin:read
Action: ActionLDAPStatusRead,
},
{
Action: ActionLDAPUsersSync,
},