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

The "Grades overview" report has become inaccessible by almost all users

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.2, 3.3
    • Fix Version/s: 3.2.5, 3.3.2
    • Component/s: Reports
    • Labels:
    • Testing Instructions:
      Hide
      TEST
      1. Create a course or use an existing one.
      2. Enrol two users, one student and one teacher.
      3. Log in as teacher.
      4. Go to that course and then go to participants page.
      5. Click on the student user and you will be redirected to his profile page.
      6. Click on Grades overview link.
      7. Make sure you don't get a no permission error and the grades overview report is displayed.
      8. Logout and login as admin
      9. Go to Site Administration > Users > Permissions > Capability overview
      10. Search for gradereport/overview:view capability and click Get the overview
      11. Make sure Authenticated user role is marked as Allow.
      UPGRAGE
      1. Go to a previous version of moodle, let's say integration 3.3.
      2. Log in as admin and go to Site Administration > Users > Permissions > Capability overview
      3. Search for gradereport/overview:view capability and click Get the overview
      4. Upgrade your 3.3 integration to master.
      5. Go to Site Administration > Users > Permissions > Capability overview
      6. Search for gradereport/overview:view capability and click Get the overview
      7. Make sure Authenticated user role is marked as Allow.
      FRESH INSTALL
      1. Install a fresh integration master.
      2. Log in as admin.
      3. Go to Site Administration > Users > Permissions > Capability overview
      4. Search for gradereport/overview:view capability and click Get the overview
      5. Make sure Authenticated user role is marked as Allow.
      Show
      TEST Create a course or use an existing one. Enrol two users, one student and one teacher. Log in as teacher. Go to that course and then go to participants page. Click on the student user and you will be redirected to his profile page. Click on Grades overview link. Make sure you don't get a no permission error and the grades overview report is displayed. Logout and login as admin Go to Site Administration > Users > Permissions > Capability overview Search for gradereport/overview:view capability and click Get the overview Make sure Authenticated user role is marked as Allow . UPGRAGE Go to a previous version of moodle, let's say integration 3.3. Log in as admin and go to Site Administration > Users > Permissions > Capability overview Search for gradereport/overview:view capability and click Get the overview Upgrade your 3.3 integration to master. Go to Site Administration > Users > Permissions > Capability overview Search for gradereport/overview:view capability and click Get the overview Make sure Authenticated user role is marked as Allow . FRESH INSTALL Install a fresh integration master. Log in as admin. Go to Site Administration > Users > Permissions > Capability overview Search for gradereport/overview:view capability and click Get the overview Make sure Authenticated user role is marked as Allow .
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-59371-master

      Description

      If you go to a participant's profile page as an admin you can click the link "Grades overview" under "Reports" and you get to the list of grades of this user. If you click this link as a teacher you get only the message "Can not view grades". At least there should be no link for users, who are not allowed to use it...

        Attachments

        1. Grades overview link on profile page.png
          111 kB
          Thomas Niedermaier
        2. Message for teachers.png
          56 kB
          Thomas Niedermaier

          Issue Links

            Activity

              People

              Assignee:
              lameze Simey Lameze
              Reporter:
              bluetom Thomas Niedermaier
              Peer reviewer:
              Mark Nelson
              Integrator:
              Andrew Nicols
              Tester:
              John Okely
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Sep/17