ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Velmurugan Periasamy <vperias...@hortonworks.com>
Subject Re: Review Request 71614: RANGER-2617 : Provide descriptive error message when role delete not allowed
Date Tue, 15 Oct 2019 15:45:29 GMT

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


Ship it!




Ship It!

- Velmurugan Periasamy


On Oct. 15, 2019, 1:46 p.m., Nikhil P wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/71614/
> -----------------------------------------------------------
> 
> (Updated Oct. 15, 2019, 1:46 p.m.)
> 
> 
> Review request for ranger, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Pradeep Agrawal,
Ramesh Mani, Selvamohan Neethiraj, Sailaja Polavarapu, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-2617
>     https://issues.apache.org/jira/browse/RANGER-2617
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Scenario:
> Create a role r1
> Create a ranger policy for role r1
> Try to delete role
> Role delete is not allowed as a policy exists with the specified role.
> 
> Response: XXRole can't be deleted
> 
> Expected:
> Descriptive message with details on why the operation is not allowed
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/java/org/apache/ranger/biz/RoleDBStore.java dfc5be89d 
> 
> 
> Diff: https://reviews.apache.org/r/71614/diff/2/
> 
> 
> Testing
> -------
> 
> Tested on local VM if descriptive response is given If role delete is not allowed.
> 
> 
> Thanks,
> 
> Nikhil P
> 
>


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