rokwire / surveys-building-block

Building Block that manages surveys in the Rokwire Platform.
Apache License 2.0
0 stars 1 forks source link

[BUG] Event admins cannot update surveys #21

Closed roberlander2 closed 1 year ago

roberlander2 commented 1 year ago

Describe the bug Regular users are unable to update surveys associated with events (when they are not the creator) even if they are event admins.

To Reproduce Steps to reproduce the behavior:

  1. As an admin level user, create an event with a follow-up survey
  2. Add a standard user as an event admin
  3. Login as the standard user and attempt to edit the event survey
  4. See event updates are not allowed for the standard user

Expected behavior Survey update requests made by event admins should override the requirement that only the survey creator may update the survey.