Skip to content

Commit

Permalink
Merge pull request #3687 from DedunuKarunarathne/master
Browse files Browse the repository at this point in the history
Remove clear user authorization from updating hybrid roles
  • Loading branch information
DedunuKarunarathne authored Oct 16, 2024
2 parents 43efc7a + cbd7dbd commit 73baa56
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -730,9 +730,9 @@ public void updateHybridRoleListOfUser(String user, String[] deletedRoles, Strin
DatabaseUtil.closeAllConnections(dbConnection);
}
// Authorization cache of user should also be updated if deleted roles are involved
if (deletedRoles != null && deletedRoles.length > 0) {
userRealm.getAuthorizationManager().clearUserAuthorization(user);
}
// if (deletedRoles != null && deletedRoles.length > 0) {
// userRealm.getAuthorizationManager().clearUserAuthorization(user);
// }
}

/**
Expand Down

0 comments on commit 73baa56

Please sign in to comment.