1
0

Added endpoint to update a users right for a list

This commit is contained in:
kolaente
2018-09-19 07:54:47 +02:00
parent 3a338f54f9
commit 4f538abc83
4 changed files with 34 additions and 1 deletions

View File

@ -100,6 +100,7 @@ func RegisterRoutes(e *echo.Echo) {
a.GET("/lists/:list/users", listUserHandler.ReadAllWeb)
a.PUT("/lists/:list/users", listUserHandler.CreateWeb)
a.DELETE("/lists/:list/users/:user", listUserHandler.DeleteWeb)
a.POST("/lists/:list/users/:user", listUserHandler.UpdateWeb)
namespaceHandler := &crud.WebHandler{
CObject: &models.Namespace{},