Summary
When a user is deleted via SCIM before they have accepted their invitation, the pending invitation remains active. The deleted user can still accept the invitation and join the team. The user appears as an active team member but is unable to log in to Wire. This is primarily a visual bug — the user shows up in the team roster but is functionally inaccessible.
Expected behavior
When a SCIM DELETE request is received for a user, any pending invitation associated with that user should be automatically cancelled. The user should not appear as an active team member after deletion, and no invitation should remain that could allow re-joining.
Actual behavior
- User is created and an invitation is sent (user has not accepted yet)
- User is deleted via SCIM
DELETE /Users/{id}
- The pending invitation remains active in the system
- The user can accept the invitation and is added back as an active team member
- The user appears in the team roster but cannot log in to Wire
Summary
When a user is deleted via SCIM before they have accepted their invitation, the pending invitation remains active. The deleted user can still accept the invitation and join the team. The user appears as an active team member but is unable to log in to Wire. This is primarily a visual bug — the user shows up in the team roster but is functionally inaccessible.
Expected behavior
When a SCIM
DELETErequest is received for a user, any pending invitation associated with that user should be automatically cancelled. The user should not appear as an active team member after deletion, and no invitation should remain that could allow re-joining.Actual behavior
DELETE /Users/{id}