pub fn verify_uploads_are_usable(
requested: &[Uuid],
found: &[AnswerUpload],
) -> Result<(), ControllerError>Expand description
Rejects a submit naming a file the host has no usable upload record of.
Ownership alone would not be enough: without the exercise binding, any of the user’s uploads could be replayed into any other exercise’s submission. A reaped upload is reported distinctly from an unrecognised one, because only the former is a race a client can recover from by uploading again.