mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 17:22:51 +08:00
Organization: You can now update the organization user role directly (without removing and readding the organization user). Closes #1899
This commit is contained in:
@ -71,6 +71,7 @@ func Register(r *macaron.Macaron) {
|
||||
r.Put("/", bind(m.UpdateOrgCommand{}), UpdateOrg)
|
||||
r.Post("/users", bind(m.AddOrgUserCommand{}), AddOrgUser)
|
||||
r.Get("/users", GetOrgUsers)
|
||||
r.Patch("/users/:id", bind(m.UpdateOrgUserCommand{}), UpdateOrgUser)
|
||||
r.Delete("/users/:id", RemoveOrgUser)
|
||||
}, reqAccountAdmin)
|
||||
|
||||
|
Reference in New Issue
Block a user