Skip to content

Commit

Permalink
Merge branches 'w/8.1/feature/S3C-4614/assumerole' and 'q/1495/7.10/f…
Browse files Browse the repository at this point in the history
…eature/S3C-4614/assumerole' into tmp/octopus/q/8.1
  • Loading branch information
bert-e committed Jun 29, 2021
3 parents 15703aa + 864d2e8 + 5540afa commit 16a5e6a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions lib/policyEvaluator/principal.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ class Principal {
AWS: [
account,
accountArn,
requesterArn,
],
};
checkAction = true;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"engines": {
"node": ">=8"
},
"version": "8.2.1",
"version": "8.2.2",
"description": "Common utilities for the S3 project components",
"main": "index.js",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/policy/test_principalEvaluator.js
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ describe('Principal evaluator', () => {
},
},
{
name: 'should deny user as principal if account is different',
name: 'should allow user as principal if account is different',
statement: [
{
Principal: {
Expand All @@ -491,7 +491,7 @@ describe('Principal evaluator', () => {
accountId: defaultAccountId,
},
result: {
result: 'Deny',
result: 'Allow',
checkAction: true,
},
},
Expand Down

0 comments on commit 16a5e6a

Please sign in to comment.