Open
Description
Invitations
2 types
- When the admin invite a new user
- When a user want to join a group
To do
- Remove
declined
andpending
membershipRemove all the verification ofpending
anddeclined
in codeCreate a class invitation with : type, id, groupId, invitorId, musicianIdRoute for musician to send invitation to groupPOST /profil/invitation
Route for group to send invitation to musicianPOST /groups/{groupId}/invitation
Route for profil to get all his invitation receivedGET /profil/invitation/received
Route for profil to get all his invitation sentGET /profil/invitation/sent
Route for group to get all of these invition receivedGET /groups/{groupId}/invitation/received
Route for group to get all of these invitation sentGET /groups/{groupId}/invitation/sent
Route for group to accept invitationPOST /groups/{groupId}/invitation/{invitationId}/accept
Route for profil to accept invitationPOST /profil/invitation/{invitationId}/accept
Route for group to decline invitationPOST /groups/{groupId}/invitation/{invitationId}/accept
Route for profil to decline invitationPOST /profil/invitation/{invitationId}/accept
Route for group to delete an invitationPOST /groups/{groupId}/invitation/{invitationId}/decline
Route for profil to delete an invitationPOST /profil/invitation/{invitationId}/decline
Make notification when musician or group accept invitationMake notification when musician or group refuse inviationMake notification when musician or group has receive a invitationMake sure that when an invitation is confirmed, all other invitation ( both types) from same group and same musician are deleted
Activity