-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73255/
-----------------------------------------------------------
Review request for ranger, Madhan Neethiraj and Velmurugan Periasamy.
Bugs: RANGER-3224
https://issues.apache.org/jira/browse/RANGER-3224
Repository: ranger
Description
-------
Steps
1. Create a security zone and have a tag service associated with it.
2. Create a tag policy in the tag service for the security zone.
3. Edit security zone to remove tag service association.
4. Now, try to delete the security zone.
Zone deletion fails.
Diffs
-----
security-admin/src/main/java/org/apache/ranger/service/RangerSecurityZoneServiceService.java
f2a505cfc
Diff: https://reviews.apache.org/r/73255/diff/1/
Testing
-------
Verified that when a tag service is disassociated from the security-zone, all
zone policies in that tag service are deleted. Also verified that the zone
deletion is successful.
Verified that when security zone is deleted, all zone policies in all
associated tag services are deleted.
Thanks,
Abhay Kulkarni