-
Notifications
You must be signed in to change notification settings - Fork 679
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
Feat: Leave Project #1991
Feat: Leave Project #1991
Conversation
This can be re-used for leaving organizations with minor tweaks
}); | ||
return; | ||
} | ||
// If the user has access to read members, and there's less than 1 admin member excluding the current user, they can't leave the project. |
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.
suggestions: comments are super helpful but i think you want to strike the right balance of providing enough info about unclear code sections vs keeping things concise!
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.
Description 📣
This PR introduces support for leaving projects. Previously it wasn't possible to leave projects after you had been invited to it. It's only possible to leave a project if you've been added as a member. If you're a part of a project via. groups, you shouldn't be able to leave it manually.
To be able to leave a project you have to meet a set of conditions.
Type ✨