Teams: first implementation
Base:
-
New ProjectMembermodel and associated table -
New created_by/updated_byfields on multiple tables -
Update controllers to set created_by/updated_by -
Update policies for data access and modification, based on project membership -
Update controllers for authoring fields -
Update API given the new permissions
Invitations (no mails, no notifications, on existing users only):
-
New endpoint to search for users -
New endpoints to manage memberships: - create (for project owners)
- destroy (for project owners, on pending memberships)
- accept (for invitees to accept memberships)
- reject (for invitees to reject a membership proposition)
- leave (for members to quit a project)
- remove (for owners to remove an active member)
Related MRs:
Discussions:
Edited by Manuel Tancoigne