----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72699/#review221299 -----------------------------------------------------------
Ship it! Ship It! - Madhan Neethiraj On July 21, 2020, 9:12 p.m., Abhay Kulkarni wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/72699/ > ----------------------------------------------------------- > > (Updated July 21, 2020, 9:12 p.m.) > > > Review request for ranger, Madhan Neethiraj and Velmurugan Periasamy. > > > Bugs: RANGER-2921 > https://issues.apache.org/jira/browse/RANGER-2921 > > > Repository: ranger > > > Description > ------- > > All policies in a service (including tag policies if the service has > associated tag-service) are removed. Plugin downloads this change correctly, > however, it continues to execute old set of policies. Effectively, this > change in policies is ignored, until another policy is created for this > service (or in associated tag service). > > The root cause is that the check for ensuring that the downloaded policies > are internally consistent was incorrectly done. > > > Diffs > ----- > > > agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java > d860f3c62 > > agents-common/src/main/java/org/apache/ranger/plugin/util/RangerPolicyDeltaUtil.java > 241cf9d63 > > security-admin/src/main/java/org/apache/ranger/biz/RangerPolicyAdminCache.java > aaf408269 > > > Diff: https://reviews.apache.org/r/72699/diff/2/ > > > Testing > ------- > > Ran all unit test cases successfully. > > > Thanks, > > Abhay Kulkarni > >
