dashboard acl work

This commit is contained in:
Torkel Ödegaard
2017-06-21 19:02:03 -04:00
parent aab6c98e45
commit 2257c1f874
8 changed files with 97 additions and 28 deletions

View File

@@ -250,7 +250,7 @@ func (hs *HttpServer) registerRoutes() {
r.Group("/acl", func() {
r.Get("/", wrap(GetDashboardAclList))
r.Post("/", bind(m.SetDashboardAclCommand{}), wrap(PostDashboardAcl))
r.Post("/", bind(dtos.UpdateDashboardAclCommand{}), wrap(UpdateDashboardAcl))
r.Delete("/:aclId", wrap(DeleteDashboardAcl))
})
}, reqSignedIn)