Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-45879

preventing moodle/site:accessallgroups also stops users from viewing individual activity reports

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.6.1, 2.6.2, 2.6.3
    • Fix Version/s: None
    • Labels:
      None
    • Affected Branches:
      MOODLE_26_STABLE

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jaspercole Jasper Cole
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Barbara Ramiro, Bas Brands
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: