mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 04:32:36 +08:00
only editor/admin should have access to alert list/notifications pages
This commit is contained in:
@ -77,8 +77,8 @@ func (hs *HTTPServer) registerRoutes() {
|
||||
|
||||
r.Get("/playlists/", reqSignedIn, hs.Index)
|
||||
r.Get("/playlists/*", reqSignedIn, hs.Index)
|
||||
r.Get("/alerting/", reqSignedIn, hs.Index)
|
||||
r.Get("/alerting/*", reqSignedIn, hs.Index)
|
||||
r.Get("/alerting/", reqEditorRole, hs.Index)
|
||||
r.Get("/alerting/*", reqEditorRole, hs.Index)
|
||||
|
||||
// sign up
|
||||
r.Get("/signup", hs.Index)
|
||||
|
Reference in New Issue
Block a user