----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/70654/#review215365 -----------------------------------------------------------
Ship it! Ship It! - Abhay Kulkarni On May 20, 2019, 12:08 p.m., bhavik patel wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/70654/ > ----------------------------------------------------------- > > (Updated May 20, 2019, 12:08 p.m.) > > > Review request for ranger, Ankita Sinha, Don Bosco Durai, Gautam Borad, Abhay > Kulkarni, Madhan Neethiraj, Oliver Szabo, Pradeep Agrawal, Ramesh Mani, > Selvamohan Neethiraj, Sailaja Polavarapu, and Velmurugan Periasamy. > > > Bugs: RANGER-2430 > https://issues.apache.org/jira/browse/RANGER-2430 > > > Repository: ranger > > > Description > ------- > > Steps to Reproduce: > 1. Create a zone for HDFS service > Zone name: zone1 > Zoneadmin user: zoneadmin1 > 2. Create a hbase policy with zone name as "zone1" through curl from > zoneadmin user: zoneadmin1 > 3. It should not be allowed as hbase service is not associated with zone: > zone1 > > > Diffs > ----- > > > agents-common/src/main/java/org/apache/ranger/plugin/errors/ValidationErrorCode.java > 3111037 > > agents-common/src/main/java/org/apache/ranger/plugin/model/validation/RangerPolicyValidator.java > 990aab0 > > agents-common/src/test/java/org/apache/ranger/plugin/model/validation/TestRangerPolicyValidator.java > 2c1de4e > > > Diff: https://reviews.apache.org/r/70654/diff/2/ > > > Testing > ------- > > User is no more able to create zone policy using curl command within service > which are not associated to zone. > > > Thanks, > > bhavik patel > >
