mirror of https://github.com/grafana/grafana.git
[release-12.2.1] Auth: Add SCIM settings permission to auth config writer role (#111398)
Auth: Add SCIM settings permission to auth config writer role (#111326)
* Auth: add SCIM settings permission to authentication config writer role
* make update-workspace
(cherry picked from commit 1ef27e9749
)
Co-authored-by: colin-stuart <colindonstuart@gmail.com>
This commit is contained in:
parent
d1bd29aa3b
commit
5a2ab9b8b0
|
@ -401,6 +401,7 @@ const (
|
|||
// Settings scope
|
||||
ScopeSettingsAll = "settings:*"
|
||||
ScopeSettingsSAML = "settings:auth.saml:*"
|
||||
ScopeSettingsSCIM = "settings:auth.scim:*"
|
||||
|
||||
// Team related actions
|
||||
ActionTeamsCreate = "teams:create"
|
||||
|
|
|
@ -273,6 +273,14 @@ var (
|
|||
Action: ActionSettingsWrite,
|
||||
Scope: ScopeSettingsOAuth("ldap"),
|
||||
},
|
||||
{
|
||||
Action: ActionSettingsRead,
|
||||
Scope: ScopeSettingsSCIM,
|
||||
},
|
||||
{
|
||||
Action: ActionSettingsWrite,
|
||||
Scope: ScopeSettingsSCIM,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue