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

(Updated Jan. 11, 2021, 12:09 a.m.)


Review request for ranger, Madhan Neethiraj, Ramesh Mani, and Velmurugan 
Periasamy.


Changes
-------

Updated description


Summary (updated)
-----------------

RANGER-3147: enhance resource-trie to enable finding evaluators for a given 
resource and its children


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


Repository: ranger


Description (updated)
-------

For the resource modeled as a path (with a path separator configured in its 
definition) it may be desired to search its Trie data to find an exact match 
for the resource being searched and its children. Ranger access requests need 
to support an additional scope specification (such as SELF_OR_CHILD) to 
implement this feature.


Diffs
-----

  
agents-common/src/main/java/org/apache/ranger/plugin/contextenricher/RangerTagEnricher.java
 f31b2c53f 
  
agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerAccessRequest.java
 4a12168be 
  
agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyEngineImpl.java
 940cc6528 
  
agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyRepository.java
 38faddd5c 
  
agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerResourceTrie.java
 b41da470a 
  
agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerDefaultPolicyEvaluator.java
 45774b934 
  
agents-common/src/main/java/org/apache/ranger/plugin/resourcematcher/RangerAbstractResourceMatcher.java
 8f6facda5 
  
agents-common/src/main/java/org/apache/ranger/plugin/resourcematcher/RangerPathResourceMatcher.java
 9cf31a2cb 
  
agents-common/src/main/java/org/apache/ranger/plugin/resourcematcher/RangerURLResourceMatcher.java
 40f3df98f 
  
agents-common/src/test/java/org/apache/ranger/plugin/policyengine/TestPathResourceTrie.java
 PRE-CREATION 
  
agents-common/src/test/java/org/apache/ranger/plugin/policyengine/TestPolicyEngine.java
 dbb5b4a6f 
  agents-common/src/test/resources/policyengine/test_policyengine_aws.json 
PRE-CREATION 
  security-admin/src/main/java/org/apache/ranger/biz/RangerPolicyAdminImpl.java 
eb332ac3f 


Diff: https://reviews.apache.org/r/73117/diff/3/


Testing
-------

Developed and ran all unit tests successfully


Thanks,

Abhay Kulkarni

Reply via email to