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

Add a status column to the participants page

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.4
    • 3.4
    • Enrolments
    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • MDL-59369-master-fix
    • Hide
      1. Login as an admin.
      2. Create students s1, s2, s3 and s4 and a teacher t1.
      3. Enable the cohorts sync enrolment plugin.
      4. Create a new cohort CO1 and add s1 and s2 as cohorts.
      5. Create a course C1.
      6. Enrol a teacher in a course C1.
      7. Enrol s1, s3 and s4 via manual enrolment into C1.
      8. Enrol the cohort CO1 to C1.
      9. Login as a teacher.
      10. Go to the course's participants page.
        • Confirm that you see a "Status" column for in the participants table.
      11. Check s1's status column.
        • Confirm that it shows 2 statuses from 2 enrolment methods. (from being enrolled using cohorts sync and manual enrolment).
      12. Check the status fields of users enrolled using manual enrolment
        • Confirm that they have the enrolment details, unenrol, and edit enrolment action buttons beside the status label.
      13. Check the status fields of users enrolled using cohorts sync.
        • Confirm that they have the enrolment details action button beside the status label.
      14. Click on the edit enrolment button for s3.
      15. Change s3's enrolment Status to "Suspended"
      16. Click "Save changes".
        • Confirm that s3's Status is now set to "Suspended"
      17. Click on the edit enrolment button for s4.
      18. Change s4's enrolment start to a date in the future.
      19. Click "Save changes".
        • Confirm that s4's Status is now set to "Not current"
      20. Click on the edit enrolment button for s4.
      21. Change s4's enrolment start to a date in the past.
      22. Change s4's enrolment end to a date in the past before the enrolment start date.
      23. Click "Save changes".
        • Confirm that you see a validation error that the enrolment end should be after the enrolment start date
      24. Change s4's enrolment end to a date in the past after the enrolment start date.
      25. Click "Save changes".
        • Confirm that s4's Status is still set to "Not current".
      26. Click on s4's enrolment details button.
      27. Confirm that you see a modal dialogue containing s4's enrolment details, such as Full name, Course, Enrolment method, Status, and Enrolment start and end dates.
      28. Close the dialogue.
      29. Click on s4's unenrol link.
      30. Click "Yes" to confirm s4's unenrolment.
        • Confirm that s4 gets unenrolled and is no longer showing on the participants list.
      Show
      Login as an admin. Create students s1, s2, s3 and s4 and a teacher t1. Enable the cohorts sync enrolment plugin. Create a new cohort CO1 and add s1 and s2 as cohorts. Create a course C1. Enrol a teacher in a course C1. Enrol s1, s3 and s4 via manual enrolment into C1. Enrol the cohort CO1 to C1. Login as a teacher. Go to the course's participants page. Confirm that you see a " Status " column for in the participants table. Check s1's status column. Confirm that it shows 2 statuses from 2 enrolment methods. (from being enrolled using cohorts sync and manual enrolment). Check the status fields of users enrolled using manual enrolment Confirm that they have the enrolment details, unenrol, and edit enrolment action buttons beside the status label. Check the status fields of users enrolled using cohorts sync. Confirm that they have the enrolment details action button beside the status label. Click on the edit enrolment button for s3. Change s3's enrolment Status to "Suspended" Click " Save changes ". Confirm that s3's Status is now set to "Suspended" Click on the edit enrolment button for s4. Change s4's enrolment start to a date in the future. Click " Save changes ". Confirm that s4's Status is now set to "Not current" Click on the edit enrolment button for s4. Change s4's enrolment start to a date in the past. Change s4's enrolment end to a date in the past before the enrolment start date. Click " Save changes ". Confirm that you see a validation error that the enrolment end should be after the enrolment start date Change s4's enrolment end to a date in the past after the enrolment start date. Click " Save changes ". Confirm that s4's Status is still set to "Not current". Click on s4's enrolment details button. Confirm that you see a modal dialogue containing s4's enrolment details, such as Full name, Course, Enrolment method, Status, and Enrolment start and end dates. Close the dialogue. Click on s4's unenrol link. Click " Yes " to confirm s4's unenrolment. Confirm that s4 gets unenrolled and is no longer showing on the participants list.

      • If the current user has moodle/course:enrolreview capability, show a column with the enrolment status for each student.
      • The enrolment status should be one of "Active", "Suspended" or "Not current". Not current means the date is outside of the enrolment start / end dates.
      • edit cog in the "Status" column
      • clicking the cog takes to the edit enrolment page
      • completing or cancelling the edit should return you to the participants page
      • enrolling a user should not navigate the teacher away from the page
      • newly enrolled users should appear on the page once the teacher has finished enrolling them
      • unenrolling a user should ask for confirmation before unenrolling
      • I should be returned to the participants page on completion or cancel
      • The unenrol icon should be in the "Status" column.
      • the unenrolled user should no longer appear in the list of users

            jpataleta Jun Pataleta
            damyon Damyon Wiese
            Damyon Wiese Damyon Wiese
            Andrew Lyons Andrew Lyons
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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