mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
AccessControl: add one-dimensional permissions to datasources (#38070)
* AccessControl: add one-dimensional permissions to datasources in the backend * AccessControl: add one-dimensional permissions to datasources in the frontend (#38080) Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
This commit is contained in:
@@ -33,7 +33,12 @@ export enum AccessControlAction {
|
||||
LDAPUsersRead = 'ldap.user:read',
|
||||
LDAPUsersSync = 'ldap.user:sync',
|
||||
LDAPStatusRead = 'ldap.status:read',
|
||||
|
||||
DataSourcesExplore = 'datasources:explore',
|
||||
DataSourcesRead = 'datasources:read',
|
||||
DataSourcesCreate = 'datasources:create',
|
||||
DataSourcesWrite = 'datasources:write',
|
||||
DataSourcesDelete = 'datasources:delete',
|
||||
|
||||
ActionServerStatsRead = 'server.stats:read',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user