vikaskr22 commented on code in PR #1230:
URL: https://github.com/apache/ranger/pull/1230#discussion_r3996694863
##########
security-admin/src/main/java/org/apache/ranger/biz/RangerBizUtil.java:
##########
@@ -1061,22 +1060,23 @@ public boolean checkUserAccessible(VXUser vXUser) {
return true;
}
- boolean isAccessible = true;
- Collection<String> roleList =
userMgr.getRolesByLoginId(vXUser.getName());
+ boolean isAccessible = true;
+ List<String> payloadRoles =
StringUtil.transformElements(vXUser.getUserRoleList(), s ->
s.trim().toUpperCase());
Review Comment:
Thanks @mneethiraj for the review. I have incorporated the change and
tested on internal cluster and found it working. Please review it one more
time. Thanks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]