Skip to content

Commit

Permalink
Update lib/api/api.js
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan Gramain <[email protected]>
  • Loading branch information
benzekrimaha and jonathan-gramain authored Nov 7, 2023
1 parent 1542075 commit 72fd343
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/api/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ const api = {
// Any explicit deny rejects the current API call
log.trace('authorization denial from Vault');
return errors.AccessDenied;
} else if (authResults[i].isAllowed) {
}
if (authResults[i].isAllowed) {
// If the action is allowed, the result is not implicit
// Deny.
isImplicitDeny[authResults[i].action] = false;
Expand Down

0 comments on commit 72fd343

Please sign in to comment.