-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74490/
-----------------------------------------------------------
Review request for ranger, Ankita Sinha, Abhay Kulkarni, Ramesh Mani, Sailaja
Polavarapu, Subhrat Chaudhary, and Velmurugan Periasamy.
Bugs: RANGER-4299
https://issues.apache.org/jira/browse/RANGER-4299
Repository: ranger
Description
-------
In trie objects built during security zone validation, child level tries don't
get inherited evaluators which resulted in incorrect validation. Fixed trie
creation to ensure that inherited evaluators from parent levels would be
included.
Diffs
-----
agents-common/src/main/java/org/apache/ranger/plugin/model/validation/RangerSecurityZoneValidator.java
1a2b3160b
agents-common/src/test/java/org/apache/ranger/plugin/model/validation/RangerSecurityZoneValidatorTest.java
ef95c69aa
Diff: https://reviews.apache.org/r/74490/diff/1/
Testing
-------
- added test case to cover two zones having resources with differnt hierarchies
- verified that existing tests pass successfully
Thanks,
Madhan Neethiraj