From cacf0658218fd8810ed5e5ec573628b45348e1f6 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 10 Jul 2018 13:47:36 +0200 Subject: [PATCH] Restrict correctors more --- routes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes b/routes index 778805719..27263ba9a 100644 --- a/routes +++ b/routes @@ -64,10 +64,10 @@ /subs SSubsR GET POST /subs/new SubmissionNewR GET POST !timeANDregistered /subs/own SubmissionOwnR GET !free -- just redirect - /sub/#CryptoFileNameSubmission SubmissionR !corrector: + /sub/#CryptoFileNameSubmission SubmissionR !correctorANDisRead: / SubShowR GET POST !ownerANDtime !ownerANDisRead /archive/#{ZIPArchiveName SubmissionFileType} SubArchiveR GET !owner - /correction CorrectionR GET POST !ownerANDisRead + /correction CorrectionR GET POST !corrector !ownerANDisRead !/#SubmissionFileType/*FilePath SubDownloadR GET !owner /correctors SCorrR GET POST !/#SheetFileType/*FilePath SFileR GET !timeANDregistered !timeANDmaterials !corrector