Skip to content

Commit

Permalink
Remove checking for REVOKED BNR status
Browse files Browse the repository at this point in the history
  • Loading branch information
anjuchamantha committed Dec 10, 2024
1 parent d195dd3 commit 7d0558a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -610,8 +610,7 @@ private boolean canRevokeByBNR(Set<String> activeAccountIDs, String userId) {
String permissionStatus = accountMetadataService.getAccountMetadataByKey(accountID, userId,
CDSConsentExtensionConstants.BNR_PERMISSION);
if (StringUtils.isNotBlank(permissionStatus) &&
!(CDSConsentExtensionConstants.BNR_AUTHORIZE_PERMISSION.equals(permissionStatus) ||
CDSConsentExtensionConstants.BNR_REVOKE_PERMISSION.equals(permissionStatus))) {
!(CDSConsentExtensionConstants.BNR_AUTHORIZE_PERMISSION.equals(permissionStatus))) {

return false;
}
Expand Down

0 comments on commit 7d0558a

Please sign in to comment.