[Project Settings] Edge case: brand new owner can remove themselves #3114
Labels
bug
Something isn't working
lowpriority
This might not be worked on
project
Size: S
Small sized issue
Projects
A project administrator (e.g., Simon) can remove themselves from a project.
A project owner (e.g., Garfunkel) can transfer project ownership to a project administrator (e.g., Simon).
If admin Simon opens project settings, Users tab; then on a different computer owner Garfunkel transfers project ownership to Simon; then new owner Simon who still sees himself as just admin Simon removes himself from the project without refreshing the page, he is successful. Result: Garfunkel is a project admin and the project has no owner.
This is a ridiculous edge case, but it shows there could be some safeguard added in the backend to prevent project owner removal without replacement.
The text was updated successfully, but these errors were encountered: