Locking out Tutors from assignments

Locking out Tutors from assignments

napisao/la Jenny McCann -
Broj odgovora: 2

Version: Moodle 3.4 (Build: 20171113)

Hello, I was after some advice.

I want to offer Tutors grading on a first come, first served basis.

This means that if a Tutor is grading an assignment, I want to lock other Tutors out from grading.

Further to that, I'd like to release that assignment back for grading if it is not done within an hour of being locked.

What would be the best way to go about this? I can get some custom coding done of course, but not quite sure where to start.

Many thanks

Odgovor na Jenny McCann

Re: Locking out Tutors from assignments

napisao/la Daniel Thies -
Slika Core developers Slika Particularly helpful Moodlers Slika Plugin developers Slika Testers

If you are using one of the advance grading methods and want to modify that, you could change the create_instance method to look for other incomplete instances created in the last hour in the database and fail if it finds one.