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

User can still see grade in overview report for the courses where their enrolment is suspended

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      To reproduce:
      1. Create two courses
      2. Create a test user account and enroll the user in both courses
      3. In one of the courses, suspend the user
      4. Log in to the test account
      5. Access the course in which you are not suspended
      6. Click on "Grades" under Course administration in the Settings block
      7. Click on the Overview report link
      8. Verify that you do not see the course that the user is suspended in

      Run the Behat test in grade/tests/behat/grade_overview_suspended.feature

      Show
      To reproduce: 1. Create two courses 2. Create a test user account and enroll the user in both courses 3. In one of the courses, suspend the user 4. Log in to the test account 5. Access the course in which you are not suspended 6. Click on "Grades" under Course administration in the Settings block 7. Click on the Overview report link 8. Verify that you do not see the course that the user is suspended in Run the Behat test in grade/tests/behat/grade_overview_suspended.feature
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_36_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-42189_master-suspended-overview

      Description

      Maybe this is intentional, but even if students are suspended from a course, they can still see the course and grade in the overview report - when following the Grades link in the user menu and also when in a course via the Grades link in the Navigation drawer (Boost) or Navigation block (Clean).

      (Description edited to add the two places where suspended students can view their grades.)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rex Rex Lorenzo
              Reporter:
              daniel.parker Daniel Parker
              Peer reviewer:
              Jun Pataleta
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              4 Vote for this issue
              Watchers:
              14 Start watching this issue

                Dates

                Created:
                Updated: