ElixirCLE / pairmotron

Programming Pair Pairifier
https://pairmotron.herokuapp.com
5 stars 4 forks source link

Allow users to delete group invitations #102

Closed mbramson closed 7 years ago

mbramson commented 7 years ago

Currently group invitations are only removed when they are accepted. There is no way to deny a membership request or an invite, all a user can do is ignore it forever.

Implement the :delete action for both the UsersGroupMembershipRequestController and the GroupInvitationController.

Allow the owners of groups to delete GroupMembershipRequests using the :delete action on the GroupInvitationController which should be located on the :index action's template.

Allow users to delete their own GroupMembershipRequests using the :delete action on the UsersGroupMembershipRequestController which should be located on the :index action's template.