0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-01-27 23:01:43 -05:00
zot/pkg/api
peusebiu cda6916b45
fix: don't allow blobs to be deleted if in use (#1559)
dist-spec APIs independently allow deletion of blobs and manifests.
Doing the former when in use by an image manifest or index is simply
error-prone. So disallow it.

Fixes issue #1509

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
Co-authored-by: Ramkumar Chinchani <rchincha@cisco.com>
2023-07-10 12:24:45 +03:00
..
config feat: integrate openID auth logic and user profile management (#1381) 2023-07-07 09:27:10 -07:00
constants feat: integrate openID auth logic and user profile management (#1381) 2023-07-07 09:27:10 -07:00
errors refactor: move helper functions under common, in usage specific named files (#1540) 2023-06-22 14:29:45 +03:00
authn.go feat: integrate openID auth logic and user profile management (#1381) 2023-07-07 09:27:10 -07:00
authz.go feat: integrate openID auth logic and user profile management (#1381) 2023-07-07 09:27:10 -07:00
controller.go feat: integrate openID auth logic and user profile management (#1381) 2023-07-07 09:27:10 -07:00
controller_test.go fix: don't allow blobs to be deleted if in use (#1559) 2023-07-10 12:24:45 +03:00
ldap.go
routes.go fix: don't allow blobs to be deleted if in use (#1559) 2023-07-10 12:24:45 +03:00
routes_test.go feat: integrate openID auth logic and user profile management (#1381) 2023-07-07 09:27:10 -07:00
session.go