diff --git a/lib/api/apiUtils/authorization/permissionChecks.js b/lib/api/apiUtils/authorization/permissionChecks.js index 2e6c2e6f41..d46cf05949 100644 --- a/lib/api/apiUtils/authorization/permissionChecks.js +++ b/lib/api/apiUtils/authorization/permissionChecks.js @@ -356,7 +356,7 @@ function processBucketPolicy(requestType, bucket, canonicalID, arn, bucketOwner, const bucketPolicy = bucket.getBucketPolicy(); let processedResult = results[requestType]; if (!bucketPolicy) { - processedResult = actionImplicitDenies[requestType] === false && aclPermission; + processedResult = actionImplicitDenies[requestType] === false && aclPermission; } else { const bucketPolicyPermission = checkBucketPolicy(bucketPolicy, requestType, canonicalID, arn, bucketOwner, log, request, actionImplicitDenies);