Auth: Add development manual override (#55496) (#55544)

* Auth: Add development manual override

* rename to disable_sync_lock

(cherry picked from commit 006944a360)
This commit is contained in:
Jo
2022-09-21 10:29:18 +02:00
committed by GitHub
parent 80784cbfab
commit 06b71c24c6
4 changed files with 10 additions and 3 deletions
+1
View File
@@ -138,6 +138,7 @@ func (hs *HTTPServer) getFrontendSettingsMap(c *models.ReqContext) (map[string]i
"auth": map[string]interface{}{
"OAuthSkipOrgRoleUpdateSync": hs.Cfg.OAuthSkipOrgRoleUpdateSync,
"SAMLSkipOrgRoleSync": hs.Cfg.SectionWithEnvOverrides("auth.saml").Key("skip_org_role_sync").MustBool(false),
"DisableSyncLock": hs.Cfg.DisableSyncLock,
},
"buildInfo": map[string]interface{}{
"hideVersion": hideVersion,