ocket8888 commented on issue #2732: Unable to Edit or Delete a Tenant where 
Active is false
URL: https://github.com/apache/trafficcontrol/issues/2732#issuecomment-446348933
 
 
   I've dug a bit into this issue, and I believe the issue is in 
`IsResourceAuthorizedToUserTx`, specifically [line 197 in 
tenancy.go](https://github.com/apache/trafficcontrol/blob/master/traffic_ops/traffic_ops_golang/tenant/tenancy.go#L197).
 The expected behavior is that an active tenant that is the parent of any 
inactive tenant should still be able to modify that tenant.
   I'd suggest that the `active` in this case refer to the activity of the 
requesting _user's_ tenant, not the activity of the tenant being modified.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to