Drilldown: Require datasources:explore RBAC action (#101366)

Drilldown: Require `datasources:explore` acton
This commit is contained in:
Sven Grossmann
2025-02-26 17:33:05 +01:00
committed by GitHub
parent c3505f0864
commit b5faf5d9a1
4 changed files with 3 additions and 7 deletions

View File

@ -183,7 +183,7 @@ func (hs *HTTPServer) registerRoutes() {
}
r.Get("/explore", authorize(ac.EvalPermission(ac.ActionDatasourcesExplore)), hs.Index)
r.Get("/drilldown", authorize(ac.EvalPermission(ac.ActionDatasourcesDrilldown)), hs.Index)
r.Get("/drilldown", authorize(ac.EvalPermission(ac.ActionDatasourcesExplore)), hs.Index)
r.Get("/playlists/", reqSignedIn, hs.Index)
r.Get("/playlists/*", reqSignedIn, hs.Index)