Skip to content

Implement the possibility to delete events

Alex requested to merge 649-delete-event into master

Closes #649

What does this MR do?

Adds a link to the options menu for an event (see screenshot). The link is visible for the creator of the event, orga, and the ambassadors of the region of the event. After a confirmation message the event and all invitations to it are deleted.

How confident are you it won't break things if deployed?

It seems to work. Is there is anything more to delete than the invitations?

How to test

Steps a reviewer can take to verify that this MR does what it says it does e.g.

  1. Checkout branch locally
  2. Login as foodsaver
  3. Create a new event in your district (Termine -> Jetzt neuen Termin eintragen)
  4. After creating it, delete it again via the menu

Screenshots (if applicable)

screenshot

screenshot2

Checklist

  • added a test, or explain why one is not needed/possible...
  • no unrelated changes
  • asked someone for a code review
  • joined #foodsharing-beta channel at https://slackin.yunity.org
  • added an entry to CHANGELOG.md (description, merge request link, username(s))
  • Once your MR has been merged, you are responsible to update the #foodsharing-beta Slack channel about what has been changed here. They will test your work in different browsers, roles or other settings
Edited by Alex

Merge request reports