mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Access control: permissions for team creation (#43506)
* FGAC for team creation * tests * fix snapshot for UI tests * linting * update snapshots * Remove unecessary class and update tests Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com> * Make the condition slightly easier Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com> Co-authored-by: gamab <gabi.mabs@gmail.com>
This commit is contained in:
@@ -48,6 +48,8 @@ export enum AccessControlAction {
|
||||
DataSourcesPermissionsRead = 'datasources.permissions:read',
|
||||
|
||||
ActionServerStatsRead = 'server.stats:read',
|
||||
|
||||
ActionTeamsCreate = 'teams:create',
|
||||
}
|
||||
|
||||
export interface Role {
|
||||
|
||||
Reference in New Issue
Block a user