ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madhan Neethiraj" <mad...@apache.org>
Subject Re: Review Request 40741: RANGER-748 : Users in policy got changed after upgrade
Date Mon, 30 Nov 2015 17:02:43 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40741/#review108323
-----------------------------------------------------------

Ship it!


Ship It!

- Madhan Neethiraj


On Nov. 30, 2015, 12:07 p.m., Gautam Borad wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40741/
> -----------------------------------------------------------
> 
> (Updated Nov. 30, 2015, 12:07 p.m.)
> 
> 
> 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
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message