|
|
@@ -73,7 +73,7 @@ func (hs *HTTPServer) registerRoutes() {
|
|
|
r.Get("/dashboards/", reqSignedIn, hs.Index)
|
|
|
r.Get("/dashboards/*", reqSignedIn, hs.Index)
|
|
|
|
|
|
- r.Get("/explore", reqEditorRole, hs.Index)
|
|
|
+ r.Get("/explore", reqSignedIn, middleware.EnsureEditorOrViewerCanEdit, hs.Index)
|
|
|
|
|
|
r.Get("/playlists/", reqSignedIn, hs.Index)
|
|
|
r.Get("/playlists/*", reqSignedIn, hs.Index)
|