You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Alok Lal <al...@hortonworks.com> on 2015/06/13 01:51:17 UTC

Review Request 35407: RANGER-551 Policy Validation: If resource levels are not valid for any hierarchy then checks about missing mandatory levels should be skipped.

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

Review request for ranger and Madhan Neethiraj.


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


Repository: ranger


Description
-------

Policy Validation: If resource levels are not valid for any hierarchy then checks about missing mandatory levels should be skipped.


Diffs
-----

  agents-common/src/main/java/org/apache/ranger/plugin/model/validation/RangerPolicyValidator.java d27b667 

Diff: https://reviews.apache.org/r/35407/diff/


Testing
-------

Manual testing done of rest API to confirm that missing mandatory field wasn't reported if policy didn't have any valid heirarchies.


Thanks,

Alok Lal


Re: Review Request 35407: RANGER-551 Policy Validation: If resource levels are not valid for any hierarchy then checks about missing mandatory levels should be skipped.

Posted by Madhan Neethiraj <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35407/#review87893
-----------------------------------------------------------

Ship it!


Ship It!

- Madhan Neethiraj


On June 12, 2015, 11:51 p.m., Alok Lal wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35407/
> -----------------------------------------------------------
> 
> (Updated June 12, 2015, 11:51 p.m.)
> 
> 
> Review request for ranger and Madhan Neethiraj.
> 
> 
> Bugs: RANGER-551
>     https://issues.apache.org/jira/browse/RANGER-551
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Policy Validation: If resource levels are not valid for any hierarchy then checks about missing mandatory levels should be skipped.
> 
> 
> Diffs
> -----
> 
>   agents-common/src/main/java/org/apache/ranger/plugin/model/validation/RangerPolicyValidator.java d27b667 
> 
> Diff: https://reviews.apache.org/r/35407/diff/
> 
> 
> Testing
> -------
> 
> Manual testing done of rest API to confirm that missing mandatory field wasn't reported if policy didn't have any valid heirarchies.
> 
> 
> Thanks,
> 
> Alok Lal
> 
>