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


Ship it!




Ship It!

- Mehul Parikh


On Oct. 29, 2020, 11:44 a.m., Dineshkumar Yadav wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/72958/
> -----------------------------------------------------------
> 
> (Updated Oct. 29, 2020, 11:44 a.m.)
> 
> 
> Review request for ranger, Ankita Sinha, Gautam Borad, Kishor Gollapalliwar, 
> Abhay Kulkarni, Mehul Parikh, and Velmurugan Periasamy.
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> When import policy api is called and @PreAuthorize fails It does not return 
> proper response with status code.
> 
> 
> Diffs
> -----
> 
>   
> security-admin/src/main/java/org/apache/ranger/security/context/RangerPreAuthSecurityHandler.java
>  a4bf69486 
> 
> 
> Diff: https://reviews.apache.org/r/72958/diff/3/
> 
> 
> Testing
> -------
> 
> after changes it is returning response with status-code
> 
> {"statusCode":401,"msgDesc":"User is not allowed to access the API"}
> 
> 
> Thanks,
> 
> Dineshkumar Yadav
> 
>

Reply via email to