[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:
co-authored by
colin-stuart
parent
d1bd29aa3b
commit
5a2ab9b8b0
@@ -401,6 +401,7 @@ const (
|
|||||||
// Settings scope
|
// Settings scope
|
||||||
ScopeSettingsAll = "settings:*"
|
ScopeSettingsAll = "settings:*"
|
||||||
ScopeSettingsSAML = "settings:auth.saml:*"
|
ScopeSettingsSAML = "settings:auth.saml:*"
|
||||||
|
ScopeSettingsSCIM = "settings:auth.scim:*"
|
||||||
|
|
||||||
// Team related actions
|
// Team related actions
|
||||||
ActionTeamsCreate = "teams:create"
|
ActionTeamsCreate = "teams:create"
|
||||||
|
|||||||
@@ -273,6 +273,14 @@ var (
|
|||||||
Action: ActionSettingsWrite,
|
Action: ActionSettingsWrite,
|
||||||
Scope: ScopeSettingsOAuth("ldap"),
|
Scope: ScopeSettingsOAuth("ldap"),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Action: ActionSettingsRead,
|
||||||
|
Scope: ScopeSettingsSCIM,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
Action: ActionSettingsWrite,
|
||||||
|
Scope: ScopeSettingsSCIM,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user