Skip to content

Commit 026c908

Browse files
authored
Merge pull request #2973 from drgrice1/fix-grading-overtime-proctored-test-hotfix
Make sure that a proctored test becomes unproctored when graded by instructor. (hotfix of #2969)
2 parents 20634de + daffef4 commit 026c908

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/WeBWorK/ContentGenerator/GatewayQuiz.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,7 @@ async sub pre_header_initialize ($c) {
12561256
($userID eq $effectiveUserID && !$can{recordAnswersNextTime})
12571257
|| (
12581258
$userID ne $effectiveUserID
1259-
&& $authz->hasPermissions($userID, 'record_answers_when_acting_as_student')
1259+
&& $can{recordAnswers}
12601260
&& $set->attempts_per_version > 0
12611261
&& ($problem->num_correct + $problem->num_incorrect + ($c->{submitAnswers} ? 1 : 0) >=
12621262
$set->attempts_per_version)

0 commit comments

Comments
 (0)