mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Auth: Add LDAP scope to Grafana Admin (#92990)
Add LDAP scope to Grafana Admin
This commit is contained in:
parent
6b6355e418
commit
a0c886922e
@ -497,6 +497,8 @@ var (
|
||||
return Scope("settings", "auth."+provider, "*")
|
||||
}
|
||||
|
||||
ScopeSettingsLDAP = Scope("settings", "auth.ldap", "*")
|
||||
|
||||
// Annotation scopes
|
||||
ScopeAnnotationsRoot = "annotations"
|
||||
ScopeAnnotationsProvider = NewScopeProvider(ScopeAnnotationsRoot)
|
||||
|
@ -265,6 +265,14 @@ var (
|
||||
Action: ActionSettingsWrite,
|
||||
Scope: ScopeSettingsOAuth("generic_oauth"),
|
||||
},
|
||||
{
|
||||
Action: ActionSettingsRead,
|
||||
Scope: ScopeSettingsOAuth("ldap"),
|
||||
},
|
||||
{
|
||||
Action: ActionSettingsWrite,
|
||||
Scope: ScopeSettingsOAuth("ldap"),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user