Access control: Clean up users scopes (#33532)
Following discussion in grafana/grafana-enterprise#1292, removing org-scoped users scopes to make it clear that the local organization is the default and the alternative to that is a global scope (for a select few endpoints)
This commit is contained in:
@@ -76,11 +76,10 @@ const (
|
||||
ActionLDAPStatusRead = "ldap.status:read"
|
||||
|
||||
// Global Scopes
|
||||
ScopeUsersAll = "users:*"
|
||||
ScopeUsersSelf = "users:self"
|
||||
ScopeGlobalUsersAll = "global:users:*"
|
||||
|
||||
ScopeOrgAllUsersAll = "org:*/users:*"
|
||||
ScopeOrgCurrentUsersAll = "org:current/users:*"
|
||||
ScopeUsersSelf = "users:self"
|
||||
ScopeUsersAll = "users:*"
|
||||
)
|
||||
|
||||
const RoleGrafanaAdmin = "Grafana Admin"
|
||||
|
||||
Reference in New Issue
Block a user