From 5830bc5f678f3be1baf4a3be582cd4b2744fa035 Mon Sep 17 00:00:00 2001 From: Maha Benzekri Date: Mon, 15 Jul 2024 12:53:44 +0200 Subject: [PATCH] fixup --- lib/api/apiUtils/authorization/permissionChecks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);