fix(exam-correct): reintroduce examResults
This commit is contained in:
parent
9aca3405f3
commit
f7136bca15
@ -110,7 +110,7 @@ postECorrectR tid ssh csh examn = do
|
||||
|
||||
CorrectInterfaceRequest{..} <- requireCheckJsonBody
|
||||
|
||||
let mayEditResults = False
|
||||
mayEditResults <- hasWriteAccessTo $ CExamR tid ssh csh examn EUsersR
|
||||
|
||||
response <- runDB . exceptT (<$ transactionUndo) return $ do
|
||||
Entity eId Exam{..} <- lift $ fetchExam tid ssh csh examn
|
||||
|
||||
Loading…
Reference in New Issue
Block a user