WIP: get Dashboard Permissions
The guardian class checks if the user is allowed to get the permissions for a dashboard.
This commit is contained in:
@@ -247,6 +247,10 @@ func (hs *HttpServer) registerRoutes() {
|
||||
r.Get("/home", wrap(GetHomeDashboard))
|
||||
r.Get("/tags", GetDashboardTags)
|
||||
r.Post("/import", bind(dtos.ImportDashboardCommand{}), wrap(ImportDashboard))
|
||||
|
||||
r.Group("/:id/acl", func() {
|
||||
r.Get("/", wrap(GetDashboardAcl))
|
||||
}, reqSignedIn)
|
||||
})
|
||||
|
||||
// Dashboard snapshots
|
||||
|
||||
Reference in New Issue
Block a user