Skip to content

Commit

Permalink
ARSN-378: adding missing authorizations to actionMapBP
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Dec 14, 2023
1 parent 0624405 commit 86e77a9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/policyEvaluator/utils/actionMaps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,12 @@ const actionMapRQ = {
};

// action map used for bucket policies
const actionMapBP = { ...sharedActionMap };
const actionMapBP = {
bucketDeleteCors : 's3:PutBucketCORS',
bucketDeleteLifecycle : 's3:PutLifecycleConfiguration',
bucketDeleteReplication : 's3:PutReplicationConfiguration',
...sharedActionMap
};

// action map for all relevant s3 actions
const actionMapS3 = {
Expand Down

0 comments on commit 86e77a9

Please sign in to comment.