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

Suspended users assignments act different when suspended in course or on system level.

    • MOODLE_405_STABLE
    • MDL-85516-mod_assign-include-site-suspended
    • Hide

      1. Create a course and enrol a teacher and a student.
      2. Create an assignment in the course.
      3. Log in as the student and submit to the assignment.
      4. Log in as an admin and suspend the student at the site level.
      5. Log in as the teacher and view the assignment grading interface.
      6. Enable the "Include suspended users" filter.
      7. Expected: The suspended user appears in the grading list with their submission.
      8. Without the patch: The student would not appear, even though they submitted before suspension.

      Show
      1. Create a course and enrol a teacher and a student. 2. Create an assignment in the course. 3. Log in as the student and submit to the assignment. 4. Log in as an admin and suspend the student at the site level . 5. Log in as the teacher and view the assignment grading interface. 6. Enable the "Include suspended users" filter. 7. Expected: The suspended user appears in the grading list with their submission. 8. Without the patch: The student would not appear, even though they submitted before suspension.
    • Hide

      Fails against automated checks.

      Checked MDL-85516 using repository: https://github.com/davidjaykelly/moodle.git

      Should these errors be fixed?

      Built on: Wed May 21 02:55:47 UTC 2025

      Show
      Fails against automated checks. Checked MDL-85516 using repository: https://github.com/davidjaykelly/moodle.git main [branch: MDL-85516-mod_assign-include-site-suspended | CI Job ] Error: The MDL-85516 -mod_assign-include-site-suspended branch at https://github.com/davidjaykelly/moodle.git is very old (>60 days ago). Please rebase against current main. Should these errors be fixed? Built on: Wed May 21 02:55:47 UTC 2025

      • When a user is suspended on course level, the users submissions are still visible in the course.
      • When a user is suspended on system level, the users submissions are hidden in all courses.
        This becomes a problem when the teacher has to grade and report grades for submissions made before the suspending.

      (In quizzes, the users attempts are still visible in the course when suspended both on course and system level)

      See discussion: https://moodle.org/mod/forum/discuss.php?d=467974

            davidjaykelly davidjaykelly
            cdipe Peter Diedrichs
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 45 minutes
                45m

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