Skip to content

Commit

Permalink
Remove clear role authoriztion from deleteHybridRole
Browse files Browse the repository at this point in the history
Remove clear role authoriztion from deleteHybridRole since role authorization is not used in MI. Fixes:#3495
  • Loading branch information
DedunuKarunarathne committed Aug 27, 2024
1 parent 676d83d commit db091bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ public void deleteHybridRole(String roleName) throws UserStoreException {
roleName = UserCoreUtil.addDomainToName(roleName, UserCoreConstants.INTERNAL_DOMAIN);
}
// also need to clear role authorization
userRealm.getAuthorizationManager().clearRoleAuthorization(roleName);
// userRealm.getAuthorizationManager().clearRoleAuthorization(roleName);
}

/**
Expand Down

0 comments on commit db091bc

Please sign in to comment.