mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 16:12:14 +08:00
SupportBundles: Access control guards (#61914)
* rename routes and fix access control for support bundles * AccessControl: Hide menu if not authorized * AccessControl: Add AC guards for create and delete * lint
This commit is contained in:
@ -121,9 +121,6 @@ func (hs *HTTPServer) registerRoutes() {
|
||||
}
|
||||
r.Get("/styleguide", reqSignedIn, hs.Index)
|
||||
|
||||
r.Get("/admin/support-bundles", reqGrafanaAdmin, hs.Index)
|
||||
r.Get("/admin/support-bundles/create", reqGrafanaAdmin, hs.Index)
|
||||
|
||||
r.Get("/live", reqGrafanaAdmin, hs.Index)
|
||||
r.Get("/live/pipeline", reqGrafanaAdmin, hs.Index)
|
||||
r.Get("/live/cloud", reqGrafanaAdmin, hs.Index)
|
||||
|
Reference in New Issue
Block a user