Prevent the only remaining team owner to change their role to member #11452
Labels
component: dashboard
feature: teams and projects [DEPRECATED]
Please, use feature: organizations or feature: projects labels instead.
team: webapp
Issue belongs to the WebApp team
type: bug
Something isn't working
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:
Steps to reproduce
Workspace affected
No response
Expected behavior
No response
Example repository
No response
Anything else?
No response
Front conversations
The text was updated successfully, but these errors were encountered: