non-admin accounts are not able to remove users from the "Moderators" list
emilghittasv opened this issue · 1 comments
emilghittasv commented
Preconditions
Sign in to https://moderator.allizom.org with an admin account.
Steps to reproduce
Steps to reproduce the behavior:
- Access the https://moderator.allizom.org/event/new page.
- Add valid data inside the input fields.
- Add a non-admin account inside the "Moderators" field and create the event.
- Sign in to https://moderator.allizom.org using the non-admin account used in step 3.
- Access the posted event from step 3.
- Delete a username from the "Moderators" field and click the "save" button.
- Access the the posted event again.
Expected behavior
The username removed in step 6 is no longer displayed inside the "Moderators" field.
Actual behavior
The username which was removed in step 6 is still displayed inside the "Moderators" field.
Additional context
This issue is not reproducible when removing the "Moderators" while signed in with an admin account.
Maybe also related to #432
akatsoulas commented
Closing as duplicate of #437