mirror of
https://github.com/grafana/grafana.git
synced 2025-02-10 07:35:45 -06:00
parent
4a1e8f3d98
commit
5da4021ea0
@ -226,10 +226,10 @@ func (hs *HTTPServer) registerRoutes() {
|
||||
return authnSettingsEval
|
||||
}
|
||||
|
||||
r.Get("/admin/authentication/", authorize(adminAuthPageEvaluator()), hs.Index)
|
||||
r.Get("/admin/authentication", authorize(adminAuthPageEvaluator()), hs.Index)
|
||||
r.Get("/admin/authentication/ldap", authorize(ac.EvalPermission(ac.ActionLDAPStatusRead)), hs.Index)
|
||||
if hs.Features.IsEnabledGlobally(featuremgmt.FlagSsoSettingsApi) {
|
||||
providerParam := ac.Parameter("provider")
|
||||
providerParam := ac.Parameter(":provider")
|
||||
r.Get("/admin/authentication/:provider", authorize(ac.EvalPermission(ac.ActionSettingsRead, ac.ScopeSettingsOAuth(providerParam))), hs.Index)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user