We have a defined multiple groups for a single course and everything works fine without any issue except the Attendance module. Let’s say Group1 can see or take attendance of Group2 by selecting the Group2 from the session drop down and we want to prevent Group1 from seeing the Group2 in session drop down or not to show the user list. Could you please help me out to fix this problem or let me know if you need more details?
I don't fully understand problem. Tachers from Group1 can view sessions of Group2?
Do you try to set 'Separate groups' mode for attendance activity? Do teachers have capabilitie /moodle/site:accessallgroups?
I unchecked the box of non editing teacher in capabilitie /moodle/site:accessallgroups
but still the same
Lastly, I made it with your help.
I unchecked capabilitie from here /moodle/site:accessallgroups
then created new session for class A not common.
then it works
Thank you very much Artem.
You have to enable a link "Available for group members only" which you will find under
Site administration>Development>Experimental>Experimental settings.
After enabling the above link, create three groupings and place each group in one grouping.
Now when you create an Attendance activity then in Group mode click on show advanced. After clicking on Show Advanced you will find two options , one is for selecting grouping and another is for checking the box of Available for group members only.
*You have to create three Attendance activities for each group.
By creating all the above settings you will be able to achieve your requirement.
If in any case you find some difficulty then please let me know
In assignment activity i can see the show advanced button and alternatively able to change the 'Available for group members only', but it is missing in attendance activity. There is no show/hide advanced button visible there.
Dear Mr Andreev,
We are encountering the same issue.
We do not want to prevent teachers from accessing groups all over the site. We want to set it only in the context of attendance module. In the permissions for attendance module, we do not find a way to override permission of teachers for accessallgroups.
How do we get around this issue?