Restrict changing registrations to organiser

Closes #786

Previous behaviour

Steps to reproduce:

  1. Create an user without super user
  2. Add this user to a committee which is allowed to organize events.
  3. Create a registration for an event organized by a different committee.
  4. Notice that the user can see and change the registrations for the event of the other committee.

New behaviour

Steps to validate that it works:

  1. Create an user without super user
  2. Add this user to a committee which is allowed to organize events.
  3. Create a registration for an event organized by a different committee.
  4. Notice that the user can no longer see and change the registrations for the event of the other committee.
Edited by Ghost User

Merge request reports

Loading
Loading