0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-01-13 22:50:38 -05:00
zot/test/blackbox
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
..
annotations.bats fix: bats test refactoring (#1731) 2023-08-30 12:24:28 -07:00
anonymous_policy.bats fix: bats test refactoring (#1731) 2023-08-30 12:24:28 -07:00
cloud_only.bats refactor(authz): use a struct for user access control info operations (#1682) 2023-09-01 11:13:53 -07:00
cve.bats fix: bats test refactoring (#1731) 2023-08-30 12:24:28 -07:00
delete_images.bats test(bats): added bats example for deleting an image (#1718) 2023-09-01 17:23:34 +03:00
detect_manifest_collision.bats fix: bats test refactoring (#1731) 2023-08-30 12:24:28 -07:00
garbage_collect.bats refactor(storage): refactor storage into a single ImageStore (#1656) 2023-09-01 10:54:39 -07:00
helpers_cloud.bash fix: bats test refactoring (#1731) 2023-08-30 12:24:28 -07:00
helpers_scrub.bash fix: bats test refactoring (#1731) 2023-08-30 12:24:28 -07:00
helpers_wait.bash fix: bats test refactoring (#1731) 2023-08-30 12:24:28 -07:00
helpers_zot.bash fix: bats test refactoring (#1731) 2023-08-30 12:24:28 -07:00
metadata.bats fix: bats test refactoring (#1731) 2023-08-30 12:24:28 -07:00
metrics.bats fix: bats test refactoring (#1731) 2023-08-30 12:24:28 -07:00
pushpull.bats fix: bats test refactoring (#1731) 2023-08-30 12:24:28 -07:00
pushpull_authn.bats refactor(authz): use a struct for user access control info operations (#1682) 2023-09-01 11:13:53 -07:00
pushpull_running_dedupe.bats fix: bats test refactoring (#1731) 2023-08-30 12:24:28 -07:00
referrers.bats fix: bats test refactoring (#1731) 2023-08-30 12:24:28 -07:00
restore_s3_blobs.bats fix: bats test refactoring (#1731) 2023-08-30 12:24:28 -07:00
scrub.bats refactor(storage): refactor storage into a single ImageStore (#1656) 2023-09-01 10:54:39 -07:00
sync.bats fix: bats test refactoring (#1731) 2023-08-30 12:24:28 -07:00
sync_docker.bats fix: bats test refactoring (#1731) 2023-08-30 12:24:28 -07:00
sync_harness.bats fix: nightly build (#1745) 2023-09-01 13:08:17 +03:00
sync_replica_cluster.bats fix: bats test refactoring (#1731) 2023-08-30 12:24:28 -07:00