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


Ship it!




Ship It!

- Abhay Kulkarni


On Oct. 13, 2021, 4:49 p.m., Pradeep Agrawal wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73652/
> -----------------------------------------------------------
> 
> (Updated Oct. 13, 2021, 4:49 p.m.)
> 
> 
> Review request for ranger, Dineshkumar Yadav, Kishor Gollapalliwar, Abhay 
> Kulkarni, Madhan Neethiraj, Mehul Parikh, Ramesh Mani, Sailaja Polavarapu, 
> and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-3480
>     https://issues.apache.org/jira/browse/RANGER-3480
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> **Problem Statement:** Policy version in access audit is not matching with 
> the policy version seen in policy view.
> x_policy table has version column which contains the latest policy version. 
> this is updated during policy update.
> 
> 
> **Proposed Solution:** x_policy table has version column which contains the 
> latest policy version. this is updated during policy update. RangerPolicy 
> object version field should be updated from the existing x_policy table 
> version field value during the delta calculation. updated policy object shall 
> be retrieved by plugins and passed to solr along with access audit logs.
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/java/org/apache/ranger/db/XXPolicyChangeLogDao.java 
> 8a1719fcd 
> 
> 
> Diff: https://reviews.apache.org/r/73652/diff/1/
> 
> 
> Testing
> -------
> 
> Tested in the environment by replacing the class file 
> (XXPolicyChangeLogDao.class) and restarted ranger-admin. 
> After that tried to reproduce the case and the issue is not reproducible.
> 
> 
> Thanks,
> 
> Pradeep Agrawal
> 
>

Reply via email to