Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent the only remaining team owner to change their role to member #11452

Closed
gtsiolis opened this issue Jul 18, 2022 · 2 comments · Fixed by #13744
Closed

Prevent the only remaining team owner to change their role to member #11452

gtsiolis opened this issue Jul 18, 2022 · 2 comments · Fixed by #13744
Assignees
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

Comments

@gtsiolis
Copy link
Contributor

gtsiolis commented Jul 18, 2022

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

  1. Create a team
  2. Change your role to member
  3. Leave a team
  4. 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

Front logo Front conversations

@gtsiolis
Copy link
Contributor Author

gtsiolis commented Oct 6, 2022

A user run into this issue in #13635.
Looping in @geropl and @jldec in case this is worth prioritizing.

@gtsiolis gtsiolis added the feature: teams and projects [DEPRECATED] Please, use feature: organizations or feature: projects labels instead. label Oct 6, 2022
@geropl geropl moved this to Scheduled in 🍎 WebApp Team Oct 7, 2022
@easyCZ easyCZ moved this from Scheduled to In Progress in 🍎 WebApp Team Oct 11, 2022
@easyCZ easyCZ self-assigned this Oct 11, 2022
@easyCZ
Copy link
Member

easyCZ commented Oct 11, 2022

@easyCZ easyCZ moved this from In Progress to In Validation in 🍎 WebApp Team Oct 11, 2022
@easyCZ easyCZ moved this from In Validation to Done in 🍎 WebApp Team Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants