mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Small progress on #2014
This commit is contained in:
@@ -67,7 +67,7 @@ func Register(r *macaron.Macaron) {
|
||||
// users
|
||||
r.Group("/users", func() {
|
||||
r.Get("/:id", wrap(GetUserById))
|
||||
r.Get("/:id/org", wrap(GetUserOrgList))
|
||||
r.Get("/:id/orgs", wrap(GetUserOrgList))
|
||||
r.Put("/:id", bind(m.UpdateUserCommand{}), wrap(UpdateUser))
|
||||
}, reqGrafanaAdmin)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user