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


Ship it!




Ship It!

- Abhay Kulkarni


On Oct. 30, 2020, 3:58 p.m., Dineshkumar Yadav wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/72996/
> -----------------------------------------------------------
> 
> (Updated Oct. 30, 2020, 3:58 p.m.)
> 
> 
> Review request for ranger, Ankita Sinha, Gautam Borad, Abhay Kulkarni, Mehul 
> Parikh, and Velmurugan Periasamy.
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> keyadmin user able to see all the policy through curl using API 
> '/service/public/v2/api/policy' but from UI he is able to see only kms 
> service policies.
> 
> Solution: 1. Keyadmin user should only see kms policy. 
>           2. Admin user should only see admin policy.
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java 
> 4ef9abeb8 
> 
> 
> Diff: https://reviews.apache.org/r/72996/diff/1/
> 
> 
> Testing
> -------
> 
> After patch 
>  Keyadmin user get kms policy only
>  admin user get admin policy only
> 
> 
> Thanks,
> 
> Dineshkumar Yadav
> 
>

Reply via email to