Can the following scenario be achieved with Moodle - LTI ToolProvider:
- User A launches Exam X on Moodle
- Moodle connects to LTI and opens Exam X on Tool T
- User A takes Exam X in new Window on Tool T and finishes Exam X.
- Score 50 and GradingProgress.PendingManual is returned from Tool T to Moodle.
- Corrector C Logs into Tool T, 2 Days later and assings extra points for question 2 of Exam X.
- New Score 60 and GradingProgress.FullyGraded are returned by Tool T to Moodle.
- Score and Status are updated on Moodle.
So my question is, is it possible that a Tool T can change the score and grading status of an Exam X for User A, after User A has taken the exam? In the scenario a corrector C is changing the result. How can the Tool authenticate the Corrector (Teacher in Moodle) so he can influence the score and grade of Exam X of one of his students on Moodle?
Or does GradingProgess.PendingManual only mean, that a teacher can only change the grade of exam X on Moodle itself?
Yes, this kind of workflow is definitely supported and all grading is done in the tool. Moodle won't record the score value at step 4, however, as it requires "GradeProgress" to match "FullyGraded" before the score is recorded (see the relevant scores code).
Additionally, the PendingManual status does not mean the instructor needs to change the grade in Moodle; the final grade can be recorded in the tool (step 5) and sent from the tool (step 6).
The instructor can launch into the tool one of several ways to make the grade update (step 5):
When the final score/grade is sent back with a "GradingProgress" value of "FullyGraded", then the score will be visible in the Moodle gradebook.