-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71167/
-----------------------------------------------------------
Review request for ranger, Ankita Sinha, bhavik patel, Gautam Borad, Abhay
Kulkarni, Madhan Neethiraj, Mehul Parikh, Nikhil P, Nitin Galave, Ramesh Mani,
Sailaja Polavarapu, and Velmurugan Periasamy.
Bugs: RANGER-2519
https://issues.apache.org/jira/browse/RANGER-2519
Repository: ranger
Description
-------
**Problem Statement:** Import policy may fail if a policy exists with same guid
in another service
**Proposed Solution:**
Policy guid should be checked within the service and zone. if zone is not
provided then it should be checked in the service and unzone. if policy exist
then same existing policy can be updated.
Diffs
-----
security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java
990fc2bba
Diff: https://reviews.apache.org/r/71167/diff/1/
Testing
-------
Able to import policies which are also exist in the another service with same
guid.
Thanks,
Pradeep Agrawal