ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gautam Borad" <gbo...@gmail.com>
Subject Review Request 40741: RANGER-748 : Users in policy got changed after upgrade
Date Mon, 30 Nov 2015 12:07:35 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for ranger, Alok Lal, Don Bosco Durai, Abhay Kulkarni, Madhan Neethiraj, Ramesh
Mani, Selvamohan Neethiraj, and Velmurugan Periasamy.

Bugs: RANGER-748

Repository: ranger


Function to retrieve username from xUserId was reading data from x_portal_user table, that
has been changed to read from x_user table.


  security-admin/src/main/java/org/apache/ranger/biz/RangerPolicyRetriever.java 4c65178 

Diff: https://reviews.apache.org/r/40741/diff/


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.

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.


Gautam Borad

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