----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50998/#review145566 -----------------------------------------------------------
Ship it! Ship It! - Madhan Neethiraj On Aug. 11, 2016, 5:50 p.m., Abhay Kulkarni wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/50998/ > ----------------------------------------------------------- > > (Updated Aug. 11, 2016, 5:50 p.m.) > > > Review request for ranger and Madhan Neethiraj. > > > Bugs: RANGER-1144 > https://issues.apache.org/jira/browse/RANGER-1144 > > > Repository: ranger > > > Description > ------- > > While evaluating an access request, policy engine quickly skip a policy if > the policy doesn't contain references to user/groups or accessType given in > the access request. This optimization (method shown below) already exists in > master and ranger-0.6 branch; this is now back ported to ranger-0.5. > > > Diffs > ----- > > > agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerAbstractPolicyEvaluator.java > 178b9d8 > > agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerDefaultPolicyEvaluator.java > efc9f92 > > agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerOptimizedPolicyEvaluator.java > 4abc1bf > > Diff: https://reviews.apache.org/r/50998/diff/ > > > Testing > ------- > > Passed all unit tests. > > > Thanks, > > Abhay Kulkarni > >
