0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/pkg/api
peusebiu e9ab520905
fix(bearer): fixed /v2/ route not implementing token spec (#2176)
We use chartmuseum lib for handling bearer requests, which is not
implementing the token spec, mainly it expects "scope" parameter
to be given on every request, even for /v2/ route which doesn't represent
a resource.

Handle this /v2/ route inside our code.

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
2024-01-22 09:15:27 -08:00
..
config feat(ldap): add option to load ldap from file (#1778) 2023-11-14 16:21:36 -08:00
constants feat: use the "zot" namespace for the authentication url (#1947) 2023-10-20 15:30:56 +03:00
errors fix: metrics endpoint must be secured behind authN (#1864) 2023-10-02 16:37:21 +03:00
authn.go fix(bearer): fixed /v2/ route not implementing token spec (#2176) 2024-01-22 09:15:27 -08:00
authn_test.go fix(scheduler): fix data race (#2085) 2023-12-11 10:00:34 -08:00
authz.go fix: metrics should be protected behind authZ (#1895) 2023-10-20 10:33:26 +03:00
controller.go feat(log): print traceback when panics occur (#2166) 2024-01-16 09:08:14 -08:00
controller_test.go fix(bearer): fixed /v2/ route not implementing token spec (#2176) 2024-01-22 09:15:27 -08:00
cookiestore.go fix(bearer): fixed /v2/ route not implementing token spec (#2176) 2024-01-22 09:15:27 -08:00
ldap.go fix: npe if ldap query doesn't return attributes (#2151) 2024-01-12 14:08:35 -08:00
recovery.go feat(log): print traceback when panics occur (#2166) 2024-01-16 09:08:14 -08:00
routes.go feat(ui): let UI delete manifests if current user has permissions to do so (#2132) 2023-12-13 09:06:08 -08:00
routes_test.go fix: tests refactoring (#1950) 2023-10-26 11:20:39 +03:00
session.go refactor(test): add lint rule for messages starting with the component (#2045) 2023-12-08 10:05:02 +02:00