Won't Do
Details
Details
Priority
Assignee
Unassigned
UnassignedReporter
Alexandre Fournier
Alexandre FournierZendesk Support
Zendesk Support
Created April 14, 2022 at 2:56 PM
Updated September 28, 2024 at 4:30 PM
Resolved September 28, 2024 at 4:30 PM
Given I have a tenant with devices
When I delete the tenant
Then the devices are not deleted
Expected: the devices should be deleted
This was supposed to be fixed by the linked ticket, but the tests made it seem like it worked when in fact it does not.
Technical details
wazo-provd
tries to check the ACL of the token vis-à-vis the deleted tenant but the tenant does not exist anymore sowazo-auth
returns 401, thus making it impossible to delete the devices.Possible solutions
wazo-provd
handles the events and delete the devices when a tenant is deletedcreate a new route in
wazo-provd
so thatwazo-confd
can delete the devices without checking if the tenant exists. In this case, a special ACL should be granted towazo-confd
.TODO
remove test skip: