0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-23 22:27:35 -05:00
zot/pkg/meta
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
..
boltdb refactor(authz): use a struct for user access control info operations (#1682) 2023-09-01 11:13:53 -07:00
common feat(pagination): move pagination and sorting image summary results after conversion (#1637) 2023-07-31 22:16:09 +03:00
dynamodb refactor(authz): use a struct for user access control info operations (#1682) 2023-09-01 11:13:53 -07:00
types feat(apikey): added route to list user api keys (#1708) 2023-08-29 09:38:38 -07:00
version feat(refator): refactoring repodb into meta (#1626) 2023-07-18 10:27:26 -07:00
hooks.go feat(pagination): move pagination and sorting image summary results after conversion (#1637) 2023-07-31 22:16:09 +03:00
hooks_test.go refactor(storage): refactor storage into a single ImageStore (#1656) 2023-09-01 10:54:39 -07:00
meta.go refactor: move /pkg/meta/signatures under /pkg/extensions/imagetrust (#1712) 2023-08-19 08:52:03 +03:00
meta_test.go refactor(authz): use a struct for user access control info operations (#1682) 2023-09-01 11:13:53 -07:00
parse.go fix(parse): lock storage while reading using image store (#1719) 2023-08-23 19:29:23 +03:00
parse_test.go refactor(storage): refactor storage into a single ImageStore (#1656) 2023-09-01 10:54:39 -07:00