mirror of
https://github.com/project-zot/zot.git
synced 2025-04-01 02:42:32 -05:00
fix(authz): fix isAdmin not using groups to determine if a user is admin. fix(authz): return 401 instead of 403 403 is correct as per HTTP spec However authz is not part of dist-spec and clients know only about 401 So this is a compromise. Signed-off-by: Petu Eusebiu <peusebiu@cisco.com> |
||
---|---|---|
.. | ||
config | ||
constants | ||
errors | ||
authn.go | ||
authn_test.go | ||
authz.go | ||
controller.go | ||
controller_test.go | ||
ldap.go | ||
routes.go | ||
routes_test.go | ||
session.go |