Creating group activities in Moodle

Last reviewed: 5/9/2019

Once you have created participant groups in Moodle, you will be able to use these groups when allocating certain tasks to specific groups of students.

When creating new activities in Moodle, you are able to ‘Restrict Access’ to these activities (this could be based on a date, group, grade, user profile settings, etc). In this instance we will be looking at adding restriction for Groups.

In the example below, I have created a new ‘Page’ activity (which allows me to create a web page resource using Moodle’s built-in text editor. This is where I can type in some text content easily and attach files (if required)) (Fig. 1).

Figure 1 - Add an activity or resource pop up page in Moodle
Figure 1 – Add an activity or resource pop up page in Moodle

You will need to enter the essential information to create the Page activity, such as the title and the content. In order to set rules to whom this activity will be available you need to use the ‘Restrict access’ menu at the bottom page (Fig. 2).

Figure 2 - adding a new page menu with essential content fields highlighted.
Figure 2 – adding a new page menu with essential content fields highlighted.

Restrict access to specific groups

Upon expanding the ‘Restrict access’ menu you will see the access restrictions already set out for the activity (if any) and will have an option to add new restrictions (Fig. 3).

Figure 3 - access restrictions window expanded
Figure 3 – access restrictions window expanded

Click on ‘Add restriction…’ button to create a new restriction rule. You will be presented with a choice of restrictions you can add for the activity (Fig. 4).

Select ‘Group‘ to allow only certain groups to access the activity.

Figure 4 - A pop up page with restriction rules available to users
Figure 4 – A pop up page with restriction rules available to users

You will then be taken back to the Activity page and will see that a blank rule has been added. This is where you will need to select the group to whom the activity will be available (Fig. 5). When finished, click ‘Save and display’.

Figure 5 - Access restrictions page with group rule enabled
Figure 5 – Access restrictions page with group rule enabled

That’s it – only students in the selected group will be able to see and access the activity. Restrictions placed on activities can be seen in the main course page (Fig 6).

Figure 6 - example module Week 4 and activities within it with restriction rules shown
Figure 6 – example module Week 4 and activities within it with restriction rules shown

To learn more about groups please see Moodle FAQs page (external link)