You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Madhan Neethiraj <ma...@apache.org> on 2024/02/21 23:09:20 UTC

Review Request 74901: RANGER-4723: zone matcher updated to handle descendent match

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

Review request for ranger, Anand Nadar, Asit Vadhavkar, Abhay Kulkarni, Monika Kachhadiya, Ramesh Mani, Siddhesh Phatak, Sailaja Polavarapu, and Velmurugan Periasamy.


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


Repository: ranger


Description
-------

API to find security-zones for a resource is updated to include unzoned zone name ("") when a security-zone contains a desencent of the resource, instead of the resource itself or its ancestor.


Diffs
-----

  agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerSecurityZoneMatcher.java a36eda0b8 
  agents-common/src/test/java/org/apache/ranger/plugin/policyengine/TestRangerSecurityZoneMatcher.java 254184403 


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


Testing
-------

- updated existing tests to handle descendent match scenario
- verified that all existing tests pass successfully


Thanks,

Madhan Neethiraj


Re: Review Request 74901: RANGER-4723: zone matcher updated to handle descendent match

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


Ship it!




Ship It!

- Abhay Kulkarni


On Feb. 21, 2024, 11:09 p.m., Madhan Neethiraj wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/74901/
> -----------------------------------------------------------
> 
> (Updated Feb. 21, 2024, 11:09 p.m.)
> 
> 
> Review request for ranger, Anand Nadar, Asit Vadhavkar, Abhay Kulkarni, Monika Kachhadiya, Ramesh Mani, Siddhesh Phatak, Sailaja Polavarapu, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-4723
>     https://issues.apache.org/jira/browse/RANGER-4723
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> API to find security-zones for a resource is updated to include unzoned zone name ("") when a security-zone contains a desencent of the resource, instead of the resource itself or its ancestor.
> 
> 
> Diffs
> -----
> 
>   agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerSecurityZoneMatcher.java a36eda0b8 
>   agents-common/src/test/java/org/apache/ranger/plugin/policyengine/TestRangerSecurityZoneMatcher.java 254184403 
> 
> 
> Diff: https://reviews.apache.org/r/74901/diff/1/
> 
> 
> Testing
> -------
> 
> - updated existing tests to handle descendent match scenario
> - verified that all existing tests pass successfully
> 
> 
> Thanks,
> 
> Madhan Neethiraj
> 
>