diff --git a/src/Handler/Corrections.hs b/src/Handler/Corrections.hs index bc01e3051..d35909517 100644 --- a/src/Handler/Corrections.hs +++ b/src/Handler/Corrections.hs @@ -268,7 +268,7 @@ postCorrectionsR = do , colSubmissionLink ] -- Continue here psValidator = def - & restrictFilter (\name _ -> name /= "corrector") + & restrictFilter (\name _ -> name /= "corrector") -- We need to be careful to restrict allowed sorting/filter to not expose sensitive information & restrictSorting (\name _ -> name /= "corrector") correctionsR whereClause colonnade psValidator $ Map.fromList [ downloadAction