Closed pablohashescobar closed 3 days ago
The changes involve modifying the create_project_member.py
management command in a Django application. Specifically, a check that prevented adding a user who was already a member of a project has been removed. This allows the command to add users to a project regardless of their existing membership status, while other functionalities related to user addition, such as role assignment and sort order, remain unchanged.
File Path | Change Summary |
---|---|
apiserver/plane/db/management/commands/... | Removed the check for existing project membership in create_project_member.py , allowing users to be added regardless of their current membership status. |
create_project_member.py
management command to remove a check for existing project membership, while PR #6084 introduces a new command in the same file that allows adding a user to a project, contingent on their workspace membership.βοΈbackend
In the garden where projects bloom,
A member's path no longer gloom.
With open arms, we welcome all,
To join the fun, to heed the call!
So hop along, let's share the cheer,
For every friend is welcome here! πβ¨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
chore: remove check for already existing project member. Always update the project member with the given role.
Summary by CodeRabbit
New Features
Bug Fixes