Moodle allows you to create groups of users at the course or activity level. Groups allow you to:
- Create a cluster of users that belong to a class, organisation, department etc. and then view their results/grades based on a group
- Allocate activities to one group and not the other
There are 3 group modes that can be used during the course setup:
- No Groups - There are no groups
- Separate Groups - Groups are invisible to each other. One group can not see the other group on the course.
- Visible Groups - Groups exist and they can view each other on the course.
- Course level - The group mode defined at the course level is the default mode for all activities defined within that course. To use groups you need first to set a group mode in Settings > Course administration > Edit settings.
- Activity level - Each activity that supports groups can also have its own group mode defined. If the course setting "Force group mode" is set to "Yes" then the option to define the group mode for individual activities is not available. If it is set to "No", then you may change the group mode.
Creating a group:
- Click the 'Create group' button in Settings > Course administration > Users > Groups
- Add a group name and optional description (displayed above the list of group members on the participants page), enrolment key and picture (displayed on the participants page and next to forum posts)
- Click the 'Save changes' button
- Select the group to which you want to add participants, then click the 'Add/remove users button
- In the "Potential members" list, select the users you want to add to the group. Multiple users may be selected using the Crtl key.
- Click the Add button to add the users to the group
You have a different groups of users and their respective teachers/managers and you want the Team managers/teachers to only be able to view their respective students/team members' results.
Note: Before creating groups, you should have team members/students and managers/teachers enrolled in their respective roles in the course and adjust the permissions accordingly (If you want them to only have view access on the grades and activities, add them as non-editing teacher or an equivalent role if you have renamed the roles).
Step 1: Create groups that you need
Step 2: Select the group that you want to add members to:
Step 3: Click on Add/remove users
Step 4: Select the desired members and manager from the potential members list:
Note: After you've added the users, they should now appear under the group members list, separated by their roles:
Step 5: Go to the gradebook of that specific course and you would now be able to views separate groups on the gradebook. If you now login as the group manager, you will be able to see my group in the list:
Team manager view: