-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40741/
-----------------------------------------------------------
Review request for ranger, Alok Lal, Don Bosco Durai, Abhay Kulkarni, Madhan
Neethiraj, Ramesh Mani, Selvamohan Neethiraj, and Velmurugan Periasamy.
Bugs: RANGER-748
https://issues.apache.org/jira/browse/RANGER-748
Repository: ranger
Description
-------
Function to retrieve username from xUserId was reading data from x_portal_user
table, that has been changed to read from x_user table.
Diffs
-----
security-admin/src/main/java/org/apache/ranger/biz/RangerPolicyRetriever.java
4c65178
Diff: https://reviews.apache.org/r/40741/diff/
Testing
-------
Environment :
Ranger installation with MySQL and Unix Sync
Steps performed:
Test case 1
1) Installed Ranger 0.4 version and enabled plugins and verified policy
enforcement
2) Upgraded Ranger to 0.5.1 version
3) Verified users which were assigned for each policy (before upgrade) remains
as is after the upgrade.
Test case 2:
Also checked for a scenario: When users tables (x_user and x_portal_user) were
not in sync and even in that contition, Policies are able to retain users
accurately in all conditions.
Result:
Users assigned in policies are retained after the upgrade and even when Users
are not in sync in x_user and x_portal_user tables.
Thanks,
Gautam Borad