-----------------------------------------------------------
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