Supervised block

Jump to: navigation, search

Note: You are currently viewing documentation for Moodle 2.8. Up-to-date documentation for the latest stable version of Moodle may be available here: Supervised block.

The main idea of the supervised block is to have an additional control over your students, so they will be able to do something only under teacher supervision. Installed with supervisedcheck (quiz access rules plugin, included out of the box) allows you to add restrictions to your quizzes.

How it works together? The course's teacher creates the session specifying the academic group, lesson type (e.g. laboratory work, exam, etc.), classroom and duration. After that students will be able to start quizzes from this course according next conditions:

  • the session is active;
  • student is in an academic group for which the session was created;
  • student is in session's classroom (you can specify the ip subnet for each classroom, see below);
  • the session was created for the lesson type which is specified for current quiz (see editing quiz settings section).

Of course you can specify only some important quizzes to be under teacher's control and not all in the course.

Also, you can combine the supervised block with Auto role assignment block. It is useful to temporary change user role during the session.

Structure and installation

Out of the box you have 2 Moodle plugins:

  1. supervised is a block for managing sessions, classrooms and lesson types. For installing, put the supervised folder into your-moodle-path/blocks/ directory.
  2. supervisedcheck is a quiz access rules plugin for setting up your quizzes to work with supervised block. For installing, put the supervisedcheck folder into your-moodle-path/mod/quiz/accessrule/ directory. This plugin can not be used separately and must be installed only together or after supervised block.

Go to http://your-moodle-website/admin/ to finish the installation process.


First of all, go to your course, turn editing on and add the supervised block to be able work with it. Now before creating your first session, you should create lesson types and classrooms (and may be add some groups to your course?).

Creating lesson types

You can omit this step if you want all you quizzes either to be accessible on all sessions (lessons) or without restrictions at all.

However, in more complex courses you want some quizzes accessible on some lessons and not on the other. Then you need to define "lesson type". Each lesson type is a kind of lesson, to which quiz can be limited - it is called "lesson type" as a teacher often can have several lessons on one theme (type) with different students groups. If you define lesson types for you course, quiz editing will allow you option to check on which lesson types quiz will be available.

In the supervised block's body click the "lesson types" link. Here you can add some:


Lesson type describes just by it's name and nothing else. Consider that lesson types creates for current course, so you must create new ones for each other course.

Creating classrooms

To start session you must provide at least one classroom - i.e. a range of computers under you supervision. A range of computers can be defined by IP subnet. Ask you admin for "IP range" for you class if you don't know wha t it means, and he will came as a string you could enter there.

Each classroom describes by name and IP subnet. Additionally you can "hide" the classroom, so it will remain in system but you won't be able to create a session in this classroom. You can specify an IP subnet in standard Moodle format. So they divided by comma and each address can be described in one on those ways:

  • (full IP address)
  • (number of bits in net mask)
  • (a range of IP addresses in the last group)
  • or (incomplete address)

Example: 235.144.18,,,


As opposed to lesson types, you can use the same classrooms in all courses.

Editing quiz settings

For link some quizzes from course with supervised sessions, go to their settings, extra restrictions on attempts section. Here you will find three options for setting your quiz:

  • Don't use supervised control for this quiz (by default) - quiz is accessible without need to be supervised.
  • Quiz is accessible on any supervised session, but only on them.
  • Quiz iz accessible only on sessions of some lesson types (even if you start a session for unchecked lesson type, student won't be able to start this quiz).


Sessions starting or planning

The teacher can start a new session just from supervised block's body choosing classroom, lesson type (if some of them was created), academic group and session duration:

start s.png

Teacher can also choose "All groups". In this case all students from this course will be able to start the quiz.

During the session teacher can change the classroom, academic group, duration, view session logs (see below) or finish session:

active s.png

The second option is to plan the session. In this case the manager plans the schedule for teachers and add sessions for them. The teacher can also plans sessions for himself (see also capabilities section).

plane s.png

If the option "Send e-mail" is checked, the teacher will be notified about session creation and any changes.

What happens if the teacher has a planned session near current time? The supervised block shows the notification about it and propose to start it. The teacher is able to change something before starting (classroom, group, lesson type or duration).

The teacher is able to view session logs and filter them by users took part in session.


When student is in course he can see in a supervised block if there is an active session(s):

student side.png

So, he can try to start the quiz.


Capability name Archetypes Description
block/supervised: besupervised student User can be supervised
block/supervised: supervise editingteacher, teacher Ability to:
  • start planned session
  • start new session
  • change / finish active session
  • view active session logs

User can't plane his own sessions.

block/supervised: editclassrooms editingteacher, manager Add / edit / delete / view classrooms
block/supervised: editlessontypes editingteacher, manager Add / edit / delete / view lesson types
block/supervised: viewownsessions editingteacher, teacher View own sessions (active, planned, finished) and their logs.

User can't edit them, start or plane new.

block/supervised: viewallsessions manager, editingteacher View sessions of all teachers(active, planned, finished) and their logs.

User can't edit them, start or plane new.

block/supervised: manageownsessions editingteacher, teacher Ability for own sessions:
  • plan
  • view / edit / remove planned

User can't start his own sessions.

block/supervised: manageallsessions manager, coursecreator Ability for sessions of all teachers:
  • plan
  • view / edit / remove planned

User can't start sessions.

block/supervised: managefinishedsessions manager, coursecreator Ability to remove finished sessions.