If you delete a role and there are tenants with users assigned with the same role, these roles are not deleted.
On the sql side the cleanup is done during removing a role
Reproducible: always 1. Create tenant 'Project1' 2. Create role 'Member 3. Assign user as role 'Member' of tenant 'Project1' 4. Delete role 'Member'
Actual Result: No error and there is still a role member on the tenant 'Project'
Expected Result: No error and no information under tenants
If you delete a role and there are tenants with users assigned with the same role, these roles are not deleted.
On the sql side the cleanup is done during removing a role
Reproducible: always
1. Create tenant 'Project1'
2. Create role 'Member
3. Assign user as role 'Member' of tenant 'Project1'
4. Delete role 'Member'
Actual Result:
No error and there is still a role member on the tenant 'Project'
Expected Result:
No error and no information under tenants