Restrict access for activity, resource or section

You can use the Restrict access settings to control the availability of learning materials based on any one or more of these condition(s). You may also combine the use of these conditions to add a set of nested restrictions to apply complex logic.

  • Students’ completion of a previous activity

  • Date (you can set from and until dates)

  • Students’ grades for a previous assessed activity in the module

  • Group setting in the module

  • User Profile field (e.g. First name, email).

You can restrict access to individual resources or activities, or to the entire sections.

 

How to apply Restrict Access to your resource, activity or section

  • When you create a resource or activity, or edit a section summary, you will find the Restrict access settings near the end of the settings page. Expand the settings by clicking on it.

  • Click on the Add restriction… button, a choice of conditions appears.

What conditions are available for restriction?

Condition

Image

Meaning

Condition

Image

Meaning

Activity Completion

Activity Completion is enabled by default on new modules. If you are working on a pre- 2019/20 module you will need to enable Completion Tracking from Settings>>Edit settings. Once you have set up Activity completion on an activity or resource, Activity completion becomes an option available from the Add restriction menu.

You can use the Activity completion settings to define what constitutes completion. Restrict access in combination with Activity completion means that you can require that students view certain resources or complete certain activities before moving on to others.

 Activity completion Example…

 

 

Date

Access can be restricted from or until a certain date and time.

Grade

You can specify a condition on any grade in the course: the full course grade, or the grade for any activity in the module. You can enter either a minimum value (at least percentage), a maximum value (less than percentage), both, or neither by clicking on the relevant checkbox.

 Grade Example…

Groups

If Groups and Groupings are set up in the module, it is possible to restrict the activity or resource to a certain group or grouping (which is a cluster of groups). If you choose the option ‘Any group’, the resource/activity will be available to a student who has been assigned to a group (any group). It should not be misinterpreted as students who are not associated with any group.

 Groups Example…

 

 

User Profile

Every user account in Moodle has profile fields like name, city, country, etc. You can select to restrict the availability of materials base on a student’s Moodle identity. Some useful profile fields are:

  • First name

  • Email address

  • This data is drawn from our student record system – GIMS and is recorded in specific coding. Please liaise with your course office if you want to utilize these fields.

 User Profile Example…

Restriction set

This allows you to add a set of nested restrictions combining the use of the above conditions in order to achieve a more complex logic.

 

How to choose ALL or ANY conditions?

If you add more than one restriction, you can decide if all the conditions need to be met or only some of them.

Relationship

Image

Meaning

Relationship

Image

Meaning

ALL

ALL the conditions need to be met. These are AND conditions.

 

 

ANY

ANY of the conditions are required before the activity is made available. These are OR conditions.

For example: referral student can be restricted by:

User Profile -> email address -> start with ->Student id (small letter: tp088393)

What will students see if a resource, activity or section has Restrict Access applied?

No matter which condition setting you have chosen, you can choose to either grey out/hide the activity/resource.completely. To set these options, you use the eye icon next to the condition:

Icon

Image

Meaning

Icon

Image

Meaning

Shut-eye

If the eye is SHUT then students who do not meet that part of the condition will not see the activity at all.

Open-eye

If the eye is OPEN the students who do not meet that part of the condition will see the activity but it will be greyed out and have information about why they can’t access it yet.

The shut-eye takes precedence. For example, you could have two conditions, one based on date (with eye shut) and one based on completing a previous activity (with eye open). The activity will not appear for students until the date; then it will be visible with information for students explaining that they need to complete an activity before they can access the materials. When students complete the activity they can access the resources.

 Example student view with open-eye for restrictions:Student id has to be small letter (tp088393)

Related articles:

https://apiit.atlassian.net/l/c/QLH41bGo

https://apiit.atlassian.net/l/c/Tud9rv1B