-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[server] Disallow removing all Owners from a team #13744
Conversation
started the job as gitpod-build-mp-server-prevent-last-user-role-change.1 because the annotations in the pull request description changed |
d7e47ff
to
942add7
Compare
942add7
to
9d221cc
Compare
/werft run 👍 started the job as gitpod-build-mp-server-prevent-last-user-role-change.4 |
/werft run 👍 started the job as gitpod-build-mp-server-prevent-last-user-role-change.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works! The error is never shown in the UI (so you think you've successfully set yourself to Member until the next time you visit the page), however I'd say this was a pre-existing issue and can be fixed in follow-up. (The error is successfully shown in the console though.)
Description
Block changing role on teams of size 1 (or less).
Related Issue(s)
Fixes #11452
How to test
Release Notes
Documentation
Werft options:
If enabled this will build
install/preview
Valid options are
all
,workspace
,webapp
,ide