Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Turn editing on, click on the cog (blue star) icon (blue star) next to the activity you wish to restrict, and select(blue star) Edit settings. Expand the Restrict access section.

Click the Add restriction… button.

...

Expand
titleExpand to view screenshot
Display of the restrict access subsection for the activity settings. There is a grey button that reads 'add restriction'.Image Added

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
titleExpand to view screenshot

Display of a date type restriction which requires the input of date details.Image Added

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
titleExpand to view screenshot
Display of a date type restriction for a date range which requires the input of date details.Image Added

There is now an additional setting:

...

Upon choosing this option, Moodle will add the restriction to the form as follows:

...

Expand
titleExpand to view screenshot
Display of an activity completion type restriction which requires the selection of appropriate activity displayed within a dropdown menu.Image Added

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
titleExpand to view screenshot
Display of a grade type restriction which requires the input of a grade range.Image Added

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
titleExpand to view screenshot
Display of a group type restriction which requires the selection of a group from a dropdown menu.Image Added

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
titleExpand to view screenshot
Display of a user profile type restriction which requires the selection of a user profile field from a dropdown menu.Image Added

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
titleExpand to view screenshot
Displays the group type restriction with Group 1 selected from a dropdown menu. Image Added

Next, click Add restriction… again and choose Restriction set. The form now looks like this:

...

Expand
titleExpand to view screenshot
Display of a restriction set which has a group type restriction and the option to input a second restriction type.Image Added

You have created a subsection into which the date range can be set up. Add the start and end dates:

...

Expand
titleExpand to view screenshot
Display a restriction set which includes a group type restriction and date type restriction with a date range. Image Added

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.