Skip to content

Commit

Permalink
change the variable name of user so it can be used from both containe…
Browse files Browse the repository at this point in the history
…rized and nc

Signed-off-by: shirady <[email protected]>
  • Loading branch information
shirady committed Jan 14, 2025
1 parent 0d2c89e commit 2358091
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/unit_tests/test_s3_bucket_policy.js
Original file line number Diff line number Diff line change
Expand Up @@ -394,9 +394,9 @@ mocha.describe('s3_bucket_policy', function() {
Statement: [
allow_all_principal_all_s3_action_statement,
{
Sid: `Do not allow user ${user_a_account_details.name} get any object`,
Sid: `Do not allow user ${user_a} get any object`,
Effect: 'Deny',
Principal: { AWS: [user_a_account_details.name] },
Principal: { AWS: [user_a] },
Action: ['s3:*'],
Resource: [`arn:aws:s3:::${BKT_D}/*`]
}
Expand Down

0 comments on commit 2358091

Please sign in to comment.