Moodle Plugins directory: Set: Student Access Control Kit | Moodle.org
Student Access Control Kit 
Student Access Control Kit (SACK) project is a set of cooperating plugins, developed at Volgograd State Technical University, dedicated to easy management on what exactly you students can or can not do on you Moodle site under current circumstances. It mainly useful when you use Moodle for summative works, leading to real grades. Do not want to tune date, time and IP range of current classroom in the quiz before each lesson? Do not want you students to use Moodle messaging during exam quiz, but allow it otherwise? These plugins will help you automate these tasks!
Currently available and developed plugins:
- block Supervised (released) - track supervised sessions (i.e. intervals of time, where some teacher in some class supervise students doing their work on the site);
- quiz access rule Supervised Check (released) - allows you to restrict some quizzes only to supervised sessions;
- block Auto Role Assignment (in development) - allows you to change student's roles on some events (like attempting a quiz, or taking part in the supervised session).
There may be more plugins available later.