You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Dineshkumar Yadav <di...@outlook.com> on 2021/06/10 10:47:09 UTC

Re: Review Request 73413: RANGER-3312 : Role is getting removed from policy when user present in that policy is deleted

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

(Updated June 10, 2021, 10:47 a.m.)


Review request for ranger, Ankita Sinha, Kishor Gollapalliwar, Abhay Kulkarni, Mehul Parikh, Pradeep Agrawal, and Velmurugan Periasamy.


Bugs: RANGER-3312
    https://issues.apache.org/jira/browse/RANGER-3312


Repository: ranger


Description
-------

Role is getting removed from policy when user present in that policy is deleted


Diffs
-----

  security-admin/src/main/java/org/apache/ranger/biz/XUserMgr.java fad332a63 


Diff: https://reviews.apache.org/r/73413/diff/1/


Testing
-------

Testcase :
1. Create policy with policy Item having role and user. 
2. Delete user.
3. After applying patch role is not getting delted from policy.


Thanks,

Dineshkumar Yadav


Re: Review Request 73413: RANGER-3312 : Role is getting removed from policy when user present in that policy is deleted

Posted by Abhay Kulkarni <ak...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73413/#review223131
-----------------------------------------------------------


Ship it!




Ship It!

- Abhay Kulkarni


On June 10, 2021, 10:47 a.m., Dineshkumar Yadav wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73413/
> -----------------------------------------------------------
> 
> (Updated June 10, 2021, 10:47 a.m.)
> 
> 
> Review request for ranger, Ankita Sinha, Kishor Gollapalliwar, Abhay Kulkarni, Mehul Parikh, Pradeep Agrawal, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-3312
>     https://issues.apache.org/jira/browse/RANGER-3312
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Role is getting removed from policy when user present in that policy is deleted
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/java/org/apache/ranger/biz/XUserMgr.java fad332a63 
> 
> 
> Diff: https://reviews.apache.org/r/73413/diff/1/
> 
> 
> Testing
> -------
> 
> Testcase :
> 1. Create policy with policy Item having role and user. 
> 2. Delete user.
> 3. After applying patch role is not getting delted from policy.
> 
> 
> Thanks,
> 
> Dineshkumar Yadav
> 
>