Commit Graph

14 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
A.Unger
e62a9b6a36 Merge branch 'master' into remake-traces 2021-08-13 09:43:31 +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
A.Unger
0eb403d658 replace go.opencensus.io with opentelemetry 2021-08-09 15:52:06 +02:00
A.Unger
2bdd07e41b add test spans 2021-08-06 15:47:46 +02:00
David Christofas
dfbc6759da resolve linter issues 2021-02-26 09:14:27 +05:45
Jörn Friedrich Dreyer
c3d8a5bf51 ocs: allow users to look up other users
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
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
A.Unger
aff4396927 ocs working 2020-09-18 15:12:18 +02:00
A.Unger
7ffaa859b3 update ocs import paths and module name 2020-09-18 12:55:52 +02:00
A.Unger
adcfca1712 Add 'ocs/' from commit '7ca52baa61c4370a1bad0e2f74e85073798bdde9'
git-subtree-dir: ocs
git-subtree-mainline: b274cac8c2
git-subtree-split: 7ca52baa61
2020-09-18 12:53:21 +02:00