|
|
@ -102,7 +102,7 @@ func (hs *HTTPServer) registerRoutes() { |
|
|
|
r.Get("/org/apikeys/", authorize(reqOrgAdmin, ac.EvalPermission(ac.ActionAPIKeyRead)), hs.Index) |
|
|
|
r.Get("/org/apikeys/", authorize(reqOrgAdmin, ac.EvalPermission(ac.ActionAPIKeyRead)), hs.Index) |
|
|
|
r.Get("/dashboard/import/", reqSignedIn, hs.Index) |
|
|
|
r.Get("/dashboard/import/", reqSignedIn, hs.Index) |
|
|
|
r.Get("/configuration", reqGrafanaAdmin, hs.Index) |
|
|
|
r.Get("/configuration", reqGrafanaAdmin, hs.Index) |
|
|
|
r.Get("/admin", reqGrafanaAdmin, hs.Index) |
|
|
|
r.Get("/admin", reqOrgAdmin, hs.Index) |
|
|
|
r.Get("/admin/settings", authorize(reqGrafanaAdmin, ac.EvalPermission(ac.ActionSettingsRead)), hs.Index) |
|
|
|
r.Get("/admin/settings", authorize(reqGrafanaAdmin, ac.EvalPermission(ac.ActionSettingsRead)), hs.Index) |
|
|
|
// Show the combined users page for org admins if topnav is enabled
|
|
|
|
// Show the combined users page for org admins if topnav is enabled
|
|
|
|
if hs.Features.IsEnabled(featuremgmt.FlagTopnav) { |
|
|
|
if hs.Features.IsEnabled(featuremgmt.FlagTopnav) { |
|
|
|