mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 23:53:10 +08:00
Alerting: enforce roles on frontend (#33997)
This commit is contained in:
@ -101,8 +101,8 @@ func (hs *HTTPServer) registerRoutes() {
|
||||
|
||||
r.Get("/playlists/", reqSignedIn, hs.Index)
|
||||
r.Get("/playlists/*", reqSignedIn, hs.Index)
|
||||
r.Get("/alerting/", reqEditorRole, hs.Index)
|
||||
r.Get("/alerting/*", reqEditorRole, hs.Index)
|
||||
r.Get("/alerting/", reqSignedIn, hs.Index)
|
||||
r.Get("/alerting/*", reqSignedIn, hs.Index)
|
||||
|
||||
// sign up
|
||||
r.Get("/verify", hs.Index)
|
||||
|
Reference in New Issue
Block a user