mirror of
https://github.com/project-zot/zot.git
synced 2025-01-27 23:01:43 -05:00
c6b822f3dd
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> |
||
---|---|---|
.. | ||
common.go | ||
common_test.go | ||
http_client.go | ||
http_client_test.go | ||
http_server.go | ||
model.go | ||
oci.go | ||
oci_test.go | ||
retry.go |