Closed
Description
Bug description
While we are now preventing the last team owner to leave a team (see #4623), we're not preventing the only remaining team owner to change their role to member, leading edge cases like member-less teams after leaving the team (#6311) or owner-less teams.
See also relevant discussion (internal). Cc @ jimmybrancaccio @jldec
Cc @nidhinmanu because #6311 (comment)
From another relevant discussion:
The last owner can’t leave a team, but can change to a member and then leave.
Steps to reproduce
- Create a team
- Change your role to member
- Leave a team
- Try creating a new team with the same name ❗
Workspace affected
No response
Expected behavior
No response
Example repository
No response
Anything else?
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done