Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-6140

Instructors with limited group access can see all groups


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 3.0.2
    • Block: Progress
    • None

      I have an issue with the progress bar and non-editing teachers.
      I have restricted non-editing teachers to their own groups with moodle/site:accessallgroups set to prevent.

      However when a non-editing teacher clicks on the Progress Bar's Overview of Students button they can see all groups.

      I hope this makes sense.



      Having had a look at the code there appears to be an error in the file overview.php where it sets the value of $course->groupmode to 2, ie Visible Groups, regardless of the settings on the course.

      I hope this is sufficient information to help resolve this. I am not a confident enough coder to resolve it myself but by changing it to 1 it does what I would expect it to.

      Best Regards

      Dave Emsley

            salvetore Michael de Raadt
            demsley Dave Emsley
            0 Vote for this issue
            1 Start watching this issue


                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.