> On Nov. 1, 2023, 7:31 p.m., Abhay Kulkarni wrote: > > agents-common/src/main/java/org/apache/ranger/plugin/service/RangerAuthContext.java > > Lines 40 (patched) > > <https://reviews.apache.org/r/74711/diff/1/?file=2282541#file2282541line40> > > > > This is a new addition. What is the net new functionality added which > > needed this addition?
Context enricher for GDS (RANGER-3923) will need to find the zone in which the accessed resource belongs to. Hence making zoneMatcher available via auth-context. - Madhan ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/74711/#review225919 ----------------------------------------------------------- On Nov. 1, 2023, 2:17 a.m., Madhan Neethiraj wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/74711/ > ----------------------------------------------------------- > > (Updated Nov. 1, 2023, 2:17 a.m.) > > > Review request for ranger, Ankita Sinha, Abhay Kulkarni, Ramesh Mani, Sailaja > Polavarapu, Subhrat Chaudhary, and Velmurugan Periasamy. > > > Bugs: RANGER-4507 > https://issues.apache.org/jira/browse/RANGER-4507 > > > Repository: ranger > > > Description > ------- > > RangerSecurityZoneMatcher created with the code moved from PolicyEngine > > > Diffs > ----- > > > agents-common/src/main/java/org/apache/ranger/plugin/policyengine/PolicyEngine.java > 063b685d0 > > agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerSecurityZoneMatcher.java > PRE-CREATION > > agents-common/src/main/java/org/apache/ranger/plugin/service/RangerAuthContext.java > 56e4d782d > > agents-common/src/test/java/org/apache/ranger/plugin/policyengine/TestPolicyEngine.java > ba2e6439e > > agents-common/src/test/java/org/apache/ranger/plugin/policyengine/TestRangerSecurityZoneMatcher.java > PRE-CREATION > > > Diff: https://reviews.apache.org/r/74711/diff/1/ > > > Testing > ------- > > - verified that all existing tests pass successfully > - added unit tests > > > Thanks, > > Madhan Neethiraj > >
