Note: You are currently viewing documentation for Moodle 3.11. Up-to-date documentation for the latest stable version of Moodle may be available here: Using restrict access.

Using restrict access

From MoodleDocs

A basic example

Students are required to undertake 4 tasks in a precise order. According to their score in a quiz, the fourth task - a Moodle lesson - is either at a lower or more advanced level. They must

  • view a page explaining the course
  • post an introductory message in a forum
  • take a quiz
  • move onto a lesson tailored to their performance in the quiz.

Here is the teacher view.

teacher view of sequence of conditional activities

Students will only see the first task (the webpage)with the second task (the forum) greyed out. The other tasks only appear once the conditions have been met.

studentcondactlinks.png

How's it done?

  • Task 1, the page must be read (or at least viewed) before students can access the forum. In task 1 the activity completion condition is set to require view

"require view" condition

  • Task 2, the forum, needs to have the restrictions set such that the page Read This First must be marked complete. The "open" eye icon means the forum is greyed out until available:

"must be marked complete"/greyed out"

  • Task 2, the forum, needs to require students to make a post before they can do the quiz. The activity completion condition is set to " require posts"

"require posts"

  • Task 3, the quiz, needs to have the restrictions set such that the forum must be marked complete. The "crossed out eye" icon means the quiz is completely hidden until a student has posted in the forum:

"must be marked complete/hide activity entirely"

  • The student must get a grade in the quiz for the activity to be complete:

"require grade"

  • Task 4 is two lessons - either at level 1 (basic) or level 2 (advanced). If the student scores less than 50% in the quiz they do Level 1; if they score more, they do Level 2. In the Level 1 lesson, the restriction is set such that students can only access it if they get under 50% in the quiz

grade completion

The Level 2 lesson has the restriction set such that students can only access it if they get 50% or more:

grade completion

An example of "all or any"

  • It's possible to set conditions such that a particular activity is available if one or more previous activities are marked complete, rather than all of them. In this screenshot, the Advanced task will become available either if the student gets above a certain grade in the quiz or if they receive a grade in the assignment.

eitheror1a.png

  • When the first restriction is set, the teacher can then click the "Add restriction" button again to add a second (and subsequent) restrictions. The teacher can then change the "all" to "any" , thus changing the "and" to "or":

eitheror2.png

An example of a Restriction set

  • The Restriction set button offers the possibility of creating several criteria using all/any to create complex conditions. In the screenshot below, students can only access the Assessment and Feedback section of the course if they have EITHER completed the work on Monet OR if they completed all the work on Pissarro.

restrictaccesslinks.png

  • The actual settings for this are as follows:
restrictionsetnew1.png

Tricks and techniques

With a bit of lateral thinking, you can achieve some interesting results beyond the most obvious uses of the system. Here is one example:

Project allocation

Imagine that you let students choose one of two projects. Each project has its own activities (a forum for all the people doing that project, resources with information about the project, etc.). You want it to hide all the activities that a student isn't doing.

This can already be achieved in Moodle using the Groupings system. However, conditional activities gives another way to set this up which might be preferable in some cases. Here's how:

  1. Create two forums called 'Frog project sign-up forum' and 'Zombie project sign-up forum'.
  2. Set both forums to be automatically marked complete once the user makes 1 post.
  3. Set each forum to be conditionally available only if the other forum is NOT complete.
  4. Create other activities for the frog and zombie projects. For each Frog activity, set it to be conditionally available only if the Frog sign-up forum is marked complete. For each Zombie activity, set it to be conditionally available only if the Zombie sign-up forum is marked complete.

When a student first visits the site, they see the frog and zombie sign-up forums and none of the project activities. As soon as they post in one of the forums, the other forum will disappear, and all the activities for their preferred project will appear. (If they want to change their mind, they can delete their forum post so that it isn't marked complete any more, and it'll be back to square one.)

Gamification

Gamification is "the use of game elements and game design techniques in non-game contexts" (Deterding, Dixon, Khaled & Nacke, 2011).

Many Moodlers are using Restrict access as a means to "gamify" their course. This section is for sharing examples and ideas:

Involvement

Group activities

Choice

Control

Rewards

Fun!

All these and

Progress

Accumulation

Personalisation

Adaptability

Aditional resorces on gamification

Moodle game-related forum threads


Should you really use restrict access?

The restrict access feature is a way for you to force your students to do things in a certain order. Is that really what you want? The answer will depend on your particular circumstances, but it is worth taking a moment to reflect upon the degree to which restricting access is appropriate for your course.It is certainly good course design to make it clear to your students what they are expected to do next, to give good guidance. Restricting access can be used to create alternative pathways and to introduce repetition. As course sizes grow, such mechanisms can allow teachers to offer learning experiences that cater more to individuals, providing reinforcement when it is needed. However, some may still prefer to use labels and layout rather than locks and keys to direct the learning path.

See also