Skip to content

Commit 3642ac0

Browse files
committed
ARSN-378: adding missing authorizations to actionMapBP
1 parent 0624405 commit 3642ac0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/policyEvaluator/utils/actionMaps.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,12 @@ const actionMapRQ = {
7777
};
7878

7979
// action map used for bucket policies
80-
const actionMapBP = { ...sharedActionMap };
80+
const actionMapBP = {
81+
bucketDeleteCors : 's3:PutBucketCORS',
82+
bucketDeleteLifecycle : 's3:PutLifecycleConfiguration',
83+
bucketDeleteReplication : 's3:PutReplicationConfiguration',
84+
...sharedActionMap
85+
};
8186

8287
// action map for all relevant s3 actions
8388
const actionMapS3 = {

0 commit comments

Comments
 (0)