As a mismatch store admin I want to be able to remove a complete upload from the store in order to remove uploads that turned out to be faulty.
Problem:
Cases might arise where we want to drop a complete upload from the store. We need to make this possible for an admin of the store (aka the Mismatch Finder team). Potential scenarios where this could happen:
- an institution provides us with a mismatch file and we import it. After a while editors start complaining that the mismatches are not useful. After some digging we find out that the comparisons they've done were wrong, invalidating a large percentage of the mismatches in the upload
BDD
GIVEN an upload ID
WHEN requested
THEN an admin can drop the complete upload from the database
Acceptance criteria:
- we have some way to drop a complete upload based on its ID
Notes:
- non-reversible is ok
- it is ok if even mismatches that were already reviewed are dropped
- should be done via ssh
- submission of review decisions for dropped uploads lead to an error (already implemented generic error message is ok) (see T295990)