You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Abhay Kulkarni <ak...@hortonworks.com> on 2021/03/24 21:38:54 UTC

Review Request 73255: RANGER-3224: Not able to delete security-zone

-----------------------------------------------------------
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


Re: Review Request 73255: RANGER-3224: Not able to delete security-zone

Posted by Madhan Neethiraj <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73255/#review222735
-----------------------------------------------------------


Ship it!




Ship It!

- Madhan Neethiraj


On March 24, 2021, 9:38 p.m., Abhay Kulkarni wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73255/
> -----------------------------------------------------------
> 
> (Updated March 24, 2021, 9:38 p.m.)
> 
> 
> 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
> 
>