mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
add the permission to read org users to team creator (#45224)
This commit is contained in:
parent
ec48b81388
commit
9fafbfc87e
@ -215,11 +215,12 @@ func (hs *HTTPServer) declareFixedRoles() error {
|
||||
Role: accesscontrol.RoleDTO{
|
||||
Name: "fixed:teams:creator",
|
||||
DisplayName: "Team creator",
|
||||
Description: "Create teams.",
|
||||
Description: "Create teams and read organisation users (required to manage the created teams).",
|
||||
Group: "Teams",
|
||||
Version: 1,
|
||||
Version: 2,
|
||||
Permissions: []accesscontrol.Permission{
|
||||
{Action: accesscontrol.ActionTeamsCreate},
|
||||
{Action: accesscontrol.ActionOrgUsersRead, Scope: accesscontrol.ScopeUsersAll},
|
||||
},
|
||||
},
|
||||
Grants: teamCreatorGrants,
|
||||
|
Loading…
Reference in New Issue
Block a user