User can update parent tenant to have their child tenant as a new parent #5405
Closed
Description
I'm submitting a ...
- bug report
Traffic Control components affected ...
- Traffic Portal
- Traffic Ops
Current behavior:
User can update parent tenant to have their child tenant as a new parent and the result is it will delete all the tenant from parent to the child
Expected behavior:
System should not let user update parent tenant to have their child tenant as a new parent tenant.
Minimal reproduction of the problem with instructions:
- Create a tenant with few child tenant.
- Update parent tenant to have child tenant and it will wipe out all the tenant.