Commit Graph

7 Commits

Author SHA1 Message Date
Ralf Haferkamp
ada93a95b7 Add workaround for missing RoleIDs in Token
This we use reva to mint tokes for users when using the CS3 backend
(https://github.com/owncloud/ocis/pull/2528) the user's roles are no
longer part of the token.

This adds a workaround to the RequireSelfOrAdmin middleware to Request
the user's role id on demand from the settings service.

Partial Fix for #2646
2022-02-02 18:58:43 +01:00
Willy Kloucek
a33b0049fc trade panic for logging on render.Render 2021-11-26 17:38:33 +01:00
Jörn Friedrich Dreyer
50ab6596bb use proper url path decode on the username
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-09-15 18:00:31 +02:00
Ralf Haferkamp
3a42fdc578 Move to go-chi/chi v5 2021-08-24 17:48:37 +02:00
Jörn Friedrich Dreyer
55aacdea13 update reva to ec4099da
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-08-12 11:08:10 +00:00
David Christofas
dfbc6759da resolve linter issues 2021-02-26 09:14:27 +05:45
Jörn Friedrich Dreyer
8e39d8b873 actually check permissions to fix tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00