Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-12911 Moodle 3.7 QA
  3. MDLQA-13486

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

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Minor Minor
    • Moodle 3.7
    • Moodle 3.7
    • 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!

      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. Verify that the student's data in various activities has been deleted, with the exception of their forum posts.
      6. Go to Site administration / Users / Privacy and policies / Data requests and verify that the student is listed as type: Delete, status 'Awaiting approval' and message 'Automatically created upon user deletion.'
      7. Run the cron.
      8. Approve the request and verify that the status has changed to 'Approved'.
      9. Run the cron again.
      10. 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.
      11. Go to Site administration / Users / Privacy and policies / Privacy settings and disable (untick) 'Create automatic data deletion requests' then save changes.
      12. Go to Site administration / Users / Accounts / Browse list of users and delete another account.
      13. Go to Site administration / Users / Privacy and policies / Data requests and verify that the account you just deleted is NOT listed.

            Anna Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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