...
Turn editing on, click on the cog icon next to the activity you wish to restrict, and select Edit settings. Expand the Restrict access section.
Click the Add restriction… button.
...
Expand | ||
---|---|---|
| ||
You can now choose from a number of restriction types, as follows. Note that some of these restriction types (indicated by *) will only appear if other settings in the course allow it.
...
Once you choose Date, Moodle will add an access restriction to the form as follows:
...
Expand | ||
---|---|---|
| ||
There are 3 settings:
“Must” or “must not” (this setting is common to all restriction types)
“From” or “until”
The date and time
...
Note that, once you have more than one restriction in place, the settings then look like this:
...
Expand | ||
---|---|---|
| ||
There is now an additional setting:
...
: meaning that students will see a notice telling them the nature of the restriction
: meaning that the resource will be completely hidden to those who do not have access rights to the activity.
Finally, note also that any restriction can be removed by clicking the button on its right (common to all restriction types).
...
Upon choosing this option, Moodle will add the restriction to the form as follows:
...
Expand | ||
---|---|---|
| ||
There are 2 settings:
The activity for which completion is to be checked
The state of completion required for access to be granted: either “completed”, “not completed”, “pass grade” or “fail grade”. (See Completion tracking for further details.)
...
Upon choosing this option, Moodle will add the restriction to the form as follows:
...
Expand | ||
---|---|---|
| ||
The settings are:
(After ‘Grade’) the activity for which the grade will be checked.
The upper and lower ends of the range of acceptable grades. Tick the checkbox at the start in order to add a value to one of these fields.
...
Upon choosing this option, Moodle will add the restriction to the form as follows:
...
Expand | ||
---|---|---|
| ||
The only setting required is to specify the Group or Grouping that is allowed to view this activity.
...
Moodle will add the restriction to the form as follows:
...
Expand | ||
---|---|---|
| ||
The settings are:
Field from the user’s profile to check (usually ‘Email address’)
Nature of the comparison: “is equal to”, “contains”, etc.
The text to compare against the profile field
...
First, you would add the group restriction as follows:
...
Expand | ||
---|---|---|
| ||
Next, click Add restriction… again and choose Restriction set. The form now looks like this:
...
Expand | ||
---|---|---|
| ||
You have created a subsection into which the date range can be set up. Add the start and end dates:
...
Expand | ||
---|---|---|
| ||
Finally, you would need to change the first “all” into “any”, so that students get access if they are members of Group A or the current date is within range.