Skip to content

Commit

Permalink
Merge branch 'w/8.7/bugfix/CLDSRV-555-deleteObjects-policy-eval-fix' …
Browse files Browse the repository at this point in the history
…into tmp/octopus/w/8.8/bugfix/CLDSRV-555-deleteObjects-policy-eval-fix
  • Loading branch information
bert-e committed Jul 15, 2024
2 parents 9b34fc6 + 31892ee commit 57d46a7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/api/multiObjectDelete.js
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,9 @@ function multiObjectDelete(authInfo, request, log, callback) {
if (bucketShield(bucketMD, 'objectDelete')) {
return next(errors.NoSuchBucket);
}
if (!isBucketAuthorized(bucketMD, 'objectDelete', canonicalID, authInfo, log, request,
false)) {
// The implicit deny flag is ignored in the DeleteObjects API, as authorization only
// affects the objects.
if (!isBucketAuthorized(bucketMD, 'objectDelete', canonicalID, authInfo, log, request)) {
log.trace("access denied due to bucket acl's");
// if access denied at the bucket level, no access for
// any of the objects so all results will be error results
Expand Down

0 comments on commit 57d46a7

Please sign in to comment.