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

Instructors with limited group access can see all groups

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.2
    • None
    • Block: Progress
    • None
    • MOODLE_30_STABLE

    Description

      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.

      Cheers

      Dave

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: