> On 八月 25, 2021, 4:52 p.m., Madhan Neethiraj wrote: > > agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerDefaultPolicyEvaluator.java > > Lines 151 (patched) > > <https://reviews.apache.org/r/73546/diff/2/?file=2252274#file2252274line151> > > > > Only when enabled, > > denyEvaluators/allowExceptionEvaluators/denyExceptionEvaluators should be > > initialized. Wouldn't this require dropping "!" in this 'if'? Please review.
Yes, I misunderstand this config enableDenyAndExceptionsInPolicies. - cao ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/73546/#review223396 ----------------------------------------------------------- On 八月 26, 2021, 2:49 a.m., cao zhiqiang wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/73546/ > ----------------------------------------------------------- > > (Updated 八月 26, 2021, 2:49 a.m.) > > > Review request for ranger and Madhan Neethiraj. > > > Bugs: RANGER-3377 > https://issues.apache.org/jira/browse/RANGER-3377 > > > Repository: ranger > > > Description > ------- > > Ignore deny conditions to improve the ranger plugin performance by resource > config. > > > Diffs > ----- > > > agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerDefaultPolicyEvaluator.java > ecd6cb746 > > > Diff: https://reviews.apache.org/r/73546/diff/3/ > > > Testing > ------- > > > Thanks, > > cao zhiqiang > >