danielBingham / peerreview

A diamond open access (free to access, free to publish), open source scientific and academic publishing platform.
GNU Affero General Public License v3.0
53 stars 1 forks source link

[BUG] Editors removed from Journal Membership are left assigned to their submissions #232

Open danielBingham opened 1 year ago

danielBingham commented 1 year ago

Describe the bug

Describe the bug you encountered. What happened? What did you expect to happen?

When you remove an editor or reviewer from journal membership, they remain assigned to submissions on that journal. We may want different behavior here for reviewers or editors... at least for editors they need to unassigned from submissions when removed from journal membership.

We probably want that behavior for reviewers too.

To Reproduce

Please describe the exact steps required to reproduce the bug.

  1. Add a user to a journal.
  2. Assign the user to a submission as editor or reviewer.
  3. Remove the user from the journal.
  4. User will remain assigned.