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

Whole forum grading shows suspended students

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MDL-68437-master
    • Hide

      Prerequisites

      1. Create a course
      2. Enrol an editing teacher in the course.
      3. Enrol several students in the course.
      4. Create a forum activity in the course.
        • Under 'Whole forum grading', set particular Grade type (e.g. Point)

      Test 1 (default settings, permissions and capabilities)

      1. Login as teacher.
      2. Navigate to the course.
      3. Go to the course participants page.
      4. Suspend one of the enrolled students.
      5. Navigate to the forum activity in the course
      6. Click on the 'Grade users' button
      7. In the forum grader navigate through the list of gradable users
        • confirm that the suspended student is NOT present in this list.

      Test 2 (disabled 'Show only active enrolments' setting)

      1. Login as an admin.
      2. Navigate to Site administration > Grades > Report settings > Grader report
      3. Disable the 'Show only active enrolments' setting (grade_report_showonlyactiveenrol) and save changes.
      4. Login as a teacher.
      5. Navigate to the course.
      6. Go to the forum in the course.
      7. Click on the 'Grade users' button
      8. In the forum grader navigate through the list of gradable users
        • confirm that the suspended student is present in this list.

      Test 3 (disabled 'Show only active enrolments' preference)

      1. Login as a teacher.
      2. Navigate to the course.
      3. Go to course Grades
      4. Navigate to 'Preferences: Grader report'
      5. Set 'Show only active enrolments' to 'No' and save changes.
      6. Go to the forum in the course.
      7. Click on the 'Grade users' button
      8. In the forum grader navigate through the list of gradable users
        • confirm that the suspended student is present in this list.

      Test 4 (no 'viewsuspendedusers' capability)

      1. Login as admin.
      2. Navigate to Site administration > Grades > Report settings > Grader report
      3. Disable the 'Show only active enrolments' setting (grade_report_showonlyactiveenrol) and save changes.
      4. Navigate to Site administration > Users > Permissions > Define roles
      5. Edit the Teacher role (editingteacher)
      6. In the list of capabilities for the role, find 'moodle/course:viewsuspendedusers', disable it and save changes.
      7. Login as a teacher.
      8. Navigate to the course.
      9. Go to the forum in the course.
      10. Click on the 'Grade users' button
      11. In the forum grader navigate through the list of gradable users
        • confirm that the suspended student is NOT present in this list.
      Show
      Prerequisites Create a course Enrol an editing teacher in the course. Enrol several students in the course. Create a forum activity in the course. Under 'Whole forum grading', set particular Grade type (e.g. Point) Test 1 (default settings, permissions and capabilities) Login as teacher. Navigate to the course. Go to the course participants page. Suspend one of the enrolled students. Navigate to the forum activity in the course Click on the 'Grade users' button In the forum grader navigate through the list of gradable users confirm that the suspended student is NOT present in this list. Test 2 (disabled 'Show only active enrolments' setting) Login as an admin. Navigate to Site administration > Grades > Report settings > Grader report Disable the 'Show only active enrolments' setting (grade_report_showonlyactiveenrol) and save changes. Login as a teacher. Navigate to the course. Go to the forum in the course. Click on the 'Grade users' button In the forum grader navigate through the list of gradable users confirm that the suspended student is present in this list. Test 3 (disabled 'Show only active enrolments' preference) Login as a teacher. Navigate to the course. Go to course Grades Navigate to 'Preferences: Grader report' Set 'Show only active enrolments' to 'No' and save changes. Go to the forum in the course. Click on the 'Grade users' button In the forum grader navigate through the list of gradable users confirm that the suspended student is present in this list. Test 4 (no 'viewsuspendedusers' capability) Login as admin. Navigate to Site administration > Grades > Report settings > Grader report Disable the 'Show only active enrolments' setting (grade_report_showonlyactiveenrol) and save changes. Navigate to Site administration > Users > Permissions > Define roles Edit the Teacher role (editingteacher) In the list of capabilities for the role, find 'moodle/course:viewsuspendedusers', disable it and save changes. Login as a teacher. Navigate to the course. Go to the forum in the course. Click on the 'Grade users' button In the forum grader navigate through the list of gradable users confirm that the suspended student is NOT present in this list.
    • 2
    • HQ Team Alpha - Sprint 0.4, Team Alpha - Review Sprint 0

      When clicking 'Grade users' in the new whole forum grading, the selection of students that can be graded includes those who have an enrolment that is suspended. This doesn't match other grading areas such as assignment where suspended enrolments do not show.

        1. Test_1_Participants.png
          150 kB
          Raquel Ortega
        2. Test_1_Passed.png
          51 kB
          Raquel Ortega
        3. Test_2_Passed.png
          57 kB
          Raquel Ortega
        4. Test_3_Passed.png
          56 kB
          Raquel Ortega
        5. Test_3_Settings.png
          36 kB
          Raquel Ortega
        6. Test_4_Passed.png
          56 kB
          Raquel Ortega
        7. Test2_Settings.png
          91 kB
          Raquel Ortega
        8. Test4_Permissions.png
          25 kB
          Raquel Ortega
        9. Test4_Settings.png
          88 kB
          Raquel Ortega

            Geshoski Mihail Geshoski
            chris.pratt Chris Pratt
            Kevin Percy Kevin Percy
            Victor Déniz Falcón Victor Déniz Falcón
            Raquel Ortega Raquel Ortega
            Votes:
            49 Vote for this issue
            Watchers:
            40 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 2 hours, 5 minutes
                1d 2h 5m

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