Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16122 Moodle 4.0 QA
  3. MDLQA-16603

CLONE - An admin can delete a user and all their data

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Minor Minor
    • Moodle 4.0
    • Moodle 4.0
    • Forum, Privacy, Student
    • None

      This test requires a course containing activities, including a forum, and a student who is enrolled in the course.

      The test also requires admin access. If you would like to use the QA testing site for running this test, please see the QA testing guide for details of how to request admin access. Begin just after the hourly reset to give yourself plenty of time to complete the test!

      Setup

      1. Log in as the admin.
      2. Go to Site administration / Users / Privacy and policies / Privacy settings.
      3. Make sure that "Automatic data deletion request approval" is checked.
      4. Make sure that "Create automatic data deletion requests" is checked.

      Test

      1. Log in as a student in the course and participate in a few activities, including adding a new discussion topic in the forum and replying to a forum post.
      2. Log out then log in as an administrator and go to Site administration / Users / Accounts / Browse list of users.
      3. If necessary, use the filter to find the student and then delete their account.
      4. Go to the course and verify that the student is no longer listed as a participant.
      5. Go to Site administration / Users / Privacy and policies / Data requests and verify that the student is listed as type: Delete, status 'Approved' and message 'Automatically created upon user deletion.'
      6. Run the cron.
      7. Go to the forum and verify that the text in the student's forum posts has been replaced by the text 'This forum post has been removed' in the subject and 'The content of this forum post has been removed' in the message.
      8. Verify that the other activities have deleted the user data (exceptions: Content of group submissions in assignments, submissions in collaborative wikis, assessments made in the workshop)
      9. Go to Site administration / Users / Privacy and policies / Privacy settings and disable (untick) 'Create automatic data deletion requests' then save changes.
      10. Go to Site administration / Users / Accounts / Browse list of users and delete another account.
      11. Go to Site administration / Users / Privacy and policies / Data requests and verify that the account you just deleted is NOT listed.
      12. Go to Site administration / Users / Privacy and policies / Privacy settings and enable 'Create automatic data deletion requests', and this time disable 'Automatic data deletion request approval'.
      13. Go to Site administration / Users / Accounts / Browse list of users and delete another account.
      14. Go to Site administration / Users / Privacy and policies / Data requests and verify that the account you just deleted is listed, and has a status of 'Awaiting approval' for deletion.

        1. 16603-0028 21.03.2022 17.53.47.png
          57 kB
          Dag Klimas
        2. 16603-0029 21.03.2022 17.54.12.png
          58 kB
          Dag Klimas
        3. 16603-0030 21.03.2022 17.54.48.png
          40 kB
          Dag Klimas
        4. 16603-0031 21.03.2022 17.57.10.png
          31 kB
          Dag Klimas
        5. 16603-0032 21.03.2022 17.57.42.png
          42 kB
          Dag Klimas
        6. 16603-0033 21.03.2022 17.58.22.png
          34 kB
          Dag Klimas
        7. 16603-0034 21.03.2022 17.58.51.png
          19 kB
          Dag Klimas
        8. 16603-0035 21.03.2022 17.59.58.png
          18 kB
          Dag Klimas
        9. 16603-0036 21.03.2022 18.00.04.png
          52 kB
          Dag Klimas
        10. 16603-0037 21.03.2022 18.00.46.png
          21 kB
          Dag Klimas
        11. 16603-0038 21.03.2022 18.01.45.png
          18 kB
          Dag Klimas
        12. 16603-0039 21.03.2022 18.03.35.png
          33 kB
          Dag Klimas
        13. 16603-0040 21.03.2022 18.04.26.png
          21 kB
          Dag Klimas
        14. 16603-0041 21.03.2022 18.04.35.png
          55 kB
          Dag Klimas
        15. 16603-0042 21.03.2022 18.04.55.png
          77 kB
          Dag Klimas
        16. 16603-0043 21.03.2022 18.05.16.png
          78 kB
          Dag Klimas
        17. 16603-0044 21.03.2022 18.06.11.png
          42 kB
          Dag Klimas
        18. 16603-0045 21.03.2022 18.06.27.png
          35 kB
          Dag Klimas
        19. 16603-0046 21.03.2022 18.06.48.png
          60 kB
          Dag Klimas
        20. 16603-0047 21.03.2022 18.08.43.png
          20 kB
          Dag Klimas
        21. 16603-0048 21.03.2022 18.09.21.png
          42 kB
          Dag Klimas
        22. step5.png
          759 kB
          Bas Brands
        23. step7.png
          808 kB
          Bas Brands

            basbrands Bas Brands
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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