only editor/admin should have access to alert list/notifications pages
(cherry picked from commit a29b99b96b)
This commit is contained in:
committed by
Torkel Ödegaard
parent
18ac0824bd
commit
9044b269a3
+2
-2
@@ -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