Skip to content

Commit

Permalink
Merge branch 'w/8.6/bugfix/CLDSRV-555-deleteObjects-policy-eval-fix' …
Browse files Browse the repository at this point in the history
…into tmp/octopus/w/8.7/bugfix/CLDSRV-555-deleteObjects-policy-eval-fix
  • Loading branch information
bert-e committed Jul 15, 2024
2 parents d578051 + 56a688a commit 31892ee
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 @@ -504,8 +504,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 31892ee

Please sign in to comment.