From 19a7cd88b0142db5a1a99a4edcc18ab34d64653d Mon Sep 17 00:00:00 2001 From: Misi Date: Tue, 14 Nov 2023 22:02:52 +0100 Subject: [PATCH] Auth: Add SAML scopes to fixed:authentication.config:writer (#78147) Add SAML scopes back to fixed authenticationConfigWriterRole --- pkg/services/accesscontrol/roles.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkg/services/accesscontrol/roles.go b/pkg/services/accesscontrol/roles.go index a781fb6f8ca..16656ddb214 100644 --- a/pkg/services/accesscontrol/roles.go +++ b/pkg/services/accesscontrol/roles.go @@ -208,6 +208,14 @@ var ( Action: ActionSettingsWrite, Scope: ScopeSettingsAuth, }, + { + Action: ActionSettingsRead, + Scope: ScopeSettingsSAML, + }, + { + Action: ActionSettingsWrite, + Scope: ScopeSettingsSAML, + }, }, } )