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

Allow admins to confirm which expired contexts should be deleted: UI part

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 3.5
    • Privacy
    • MOODLE_35_STABLE
    • MDL-61830-master
    • Hide
      Setup
      1. Create a course C1 with some activities in it.
      2. Set its course end date to a date in the past.
      3. Create another course C2 with some activities in it.
      4. Set its course end date to a date in the past.
      5. Create another course C3 with some activities in it but don't set any course end date.
      6. Go to Site administration / Privacy and policies / Data registry
      7. Define a default category Cat1 and a default purpose Pur1 with retention period set to 1 day.
      8. Define another purpose Pur2 and set its retention period to 3 years.
      9. On the registry tree, click on an activity under C2. Set its purpose to Pur2.
      10. Go to "Site administration / Server / Scheduled tasks".
      11. Run the "Expired retention period" scheduled task.
      Test
      1. Go to "Site administration / Privacy and policies / Data deletion"
      2. Confirm that the filter is initially set to "Course"
      3. Confirm that you only see C1 in the list under the Course filter criterion.
      4. Hover over the info icon under the Name column.
      5. Confirm that you see the full context path.
      6. Hover over the info icon under the Info column.
      7. Confirm that you see the child contexts of the context.
      8. Change the filter to "Activities and modules"
      9. Confirm that you can see the activities in C1, and C2 listed, except for the activity in C2 that has the purpose Pur2 assigned to it.
      10. Click on the Select all checkbox.
      11. Confirm that it selects/deselects the items on the list.
      12. Select one or more course module contexts.
      13. Click "Delete selected"
      14. Confirm that you see a confirmation dialogue.
      15. Confirm the deletion of the contexts.
      16. Confirm that the contexts that you approved for deletion are now removed from the list.
      17. Change the filter to "Course".
      18. Approve C1 for deletion.
      19. Confirm that C1 is removed from the list.
      20. Change the filter back to "Activities and resources"
      21. Confirm that the contexts under C1 are now also gone from the list.
      Show
      Setup Create a course C1 with some activities in it. Set its course end date to a date in the past. Create another course C2 with some activities in it. Set its course end date to a date in the past. Create another course C3 with some activities in it but don't set any course end date. Go to Site administration / Privacy and policies / Data registry Define a default category Cat1 and a default purpose Pur1 with retention period set to 1 day. Define another purpose Pur2 and set its retention period to 3 years. On the registry tree, click on an activity under C2. Set its purpose to Pur2. Go to " Site administration / Server / Scheduled tasks ". Run the "Expired retention period" scheduled task. Test Go to " Site administration / Privacy and policies / Data deletion " Confirm that the filter is initially set to " Course " Confirm that you only see C1 in the list under the Course filter criterion. Hover over the info icon under the Name column. Confirm that you see the full context path. Hover over the info icon under the Info column. Confirm that you see the child contexts of the context. Change the filter to " Activities and modules " Confirm that you can see the activities in C1, and C2 listed, except for the activity in C2 that has the purpose Pur2 assigned to it. Click on the Select all checkbox. Confirm that it selects/deselects the items on the list. Select one or more course module contexts. Click " Delete selected " Confirm that you see a confirmation dialogue. Confirm the deletion of the contexts. Confirm that the contexts that you approved for deletion are now removed from the list. Change the filter to "Course". Approve C1 for deletion. Confirm that C1 is removed from the list. Change the filter back to "Activities and resources" Confirm that the contexts under C1 are now also gone from the list.

      Build the UI part of the deletion workflow for expired contexts:

      User Story Acceptance Criteria
      As a privacy officer, I want to be able to view a report listing data which should no longer be held, so that I can select which data to remove to comply with the principle of "Privacy by Design".
      • Moodle will provide a report listing all types of data which has passed its retention period, so that the Privacy Officer can review and choose which data areas are to be erased.
      • This report will highlight data areas (courses, plugins, etc) and will not include the actual data itself.
      • Choosing to delete all selected data should queue the selected data for deletion.

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            David Monllaó David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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