I'm having an issue with teacher's viewing their student's activity reports. We've changed the permission moodle/site:accessallgroups for non-editing teachers so that they cannot access any other groups. However, there seems to be a strange side-effect of this action. Whenever a non-editing teacher goes to an individual student's profile they cannot view "Profile settings for" which means that they cannot view activity reports for that student. Some teachers have complained and we're trying to look for a solution to the problem, without allowing access to all groups.
To reproduce the issue:
1.Set a non-editing teacher's permission for moodle/site:accessallgroups to prevent.
2.Go to a student's profile in a class that has groups.
3.You should see that "profile settings for" is missing from the administration bar.