-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/70654/
-----------------------------------------------------------
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
Diff: https://reviews.apache.org/r/70654/diff/1/
Testing
-------
User is no more able to create zone policy using curl command within service
which are not associated to zone.
Thanks,
bhavik patel