0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-01-27 23:01:43 -05:00
zot/pkg
peusebiu c6b822f3dd
refactor(authz): use a struct for user access control info operations (#1682)
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>
2023-09-01 11:13:53 -07:00
..
api refactor(authz): use a struct for user access control info operations (#1682) 2023-09-01 11:13:53 -07:00
cli refactor(storage): refactor storage into a single ImageStore (#1656) 2023-09-01 10:54:39 -07:00
common refactor(authz): use a struct for user access control info operations (#1682) 2023-09-01 11:13:53 -07:00
compliance test(refactor): change upload image function signature (#1655) 2023-07-28 17:53:46 +03:00
debug fix: remove inline GC and schedule a background task instead (#1610) 2023-08-07 12:55:19 -07:00
exporter refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
extensions refactor(authz): use a struct for user access control info operations (#1682) 2023-09-01 11:13:53 -07:00
log test(refactor): refactor tests that use zot-test to use smaller images (#1690) 2023-08-18 11:46:11 +03:00
meta refactor(authz): use a struct for user access control info operations (#1682) 2023-09-01 11:13:53 -07:00
regexp chore(trivy): update trivy version and enforce OCI compliant repo names in local image storage (#1068) 2023-01-18 08:24:44 -08:00
requestcontext refactor(authz): use a struct for user access control info operations (#1682) 2023-09-01 11:13:53 -07:00
scheduler fix: remove inline GC and schedule a background task instead (#1610) 2023-08-07 12:55:19 -07:00
storage refactor(storage): refactor storage into a single ImageStore (#1656) 2023-09-01 10:54:39 -07:00
test refactor(storage): refactor storage into a single ImageStore (#1656) 2023-09-01 10:54:39 -07:00