Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-18925 Moodle 4.5 QA
  3. MDLQA-19266

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

XMLWordPrintable

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

      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 'Deleted' 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. Exception - Call to a member function get_room_user_provider() on null qa_09_32_34.png
          117 kB
          Dag Klimas
        2. qa_07_28_33.png
          146 kB
          Dag Klimas
        3. qa_07_30_53.png
          145 kB
          Dag Klimas
        4. qa_07_33_03.png
          140 kB
          Dag Klimas
        5. qa_07_33_51.png
          149 kB
          Dag Klimas
        6. qa_07_35_50.png
          148 kB
          Dag Klimas
        7. qa_07_38_05.png
          168 kB
          Dag Klimas
        8. qa_07_38_10.png
          146 kB
          Dag Klimas
        9. qa_07_38_32.png
          143 kB
          Dag Klimas
        10. qa_07_38_50.png
          72 kB
          Dag Klimas
        11. qa_07_39_24.png
          144 kB
          Dag Klimas
        12. qa_07_40_24.png
          95 kB
          Dag Klimas
        13. qa_07_41_32.png
          143 kB
          Dag Klimas
        14. qa_07_42_27.png
          154 kB
          Dag Klimas
        15. qa_07_43_23.png
          157 kB
          Dag Klimas
        16. qa_07_44_04.png
          159 kB
          Dag Klimas
        17. qa_07_44_19.png
          157 kB
          Dag Klimas

            dag Dag Klimas
            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.