----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/71246/ -----------------------------------------------------------
Review request for ranger. Bugs: RANGER-2531 https://issues.apache.org/jira/browse/RANGER-2531 Repository: ranger Description ------- Fixed code to updated user groups and update user role properly when a user is deleted from a group. Also fixed code to not force update role for every sync cycle even when there are no updates to user's group memberships. Diffs ----- ugsync/src/main/java/org/apache/ranger/unixusersync/process/PolicyMgrUserGroupBuilder.java 24956e013 ugsync/src/main/java/org/apache/ranger/unixusersync/process/UnixUserGroupBuilder.java ddab6294a Diff: https://reviews.apache.org/r/71246/diff/1/ Testing ------- 1. Verified all the exisitng unit tests are run successfully. 2. Also patched a test cluster and verified adding/deleting users from a group are updated properly 3. Verified the role updates are working as intended. Thanks, Sailaja Polavarapu