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

Implement core_privacy for mod_feedback

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4.2
    • Fix Version/s: 3.3.6, 3.4.3
    • Component/s: Feedback, Privacy
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a few feedback modules with a few questions and pages:
        1. Feedback 1: On the front page
        2. Feedback 2: In a course C1
      2. Enrol users 1 and 2 to C1.
      3. User 1: Answer both feedback and complete the submission.
      4. User 2: Answer both feedback, but do not complete it (e.g. answer one question then navigate away from the feedback). Make sure to provide different answers than User 1 for easier verification later.
      5. Download and install the data privacy tool: (extract the archive in "admin/tool" and rename the folder as "dataprivacy")
        1. master: https://github.com/moodlehq/moodle-tool_dataprivacy/archive/master.zip
        2. 34: https://github.com/moodlehq/moodle-tool_dataprivacy/archive/MOODLE_34_STABLE.zip
        3. 33: https://github.com/moodlehq/moodle-tool_dataprivacy/archive/MOODLE_33_STABLE.zip
      6. On a separate browser window (e.g. incognito mode), log in as User 1.
      7. Go to your profile
      8. Click Data requests and create a new data export request
      9. Open a terminal and go to your Moodle root directory.
      10. Run "php admin/cli/cron.php"
      11. On the browser window where you're an admin, go to "Site administration / Privacy and policies / Data requests"
      12. Approve User 1's request.
      13. In the terminal, run "php admin/cli/cron.php" again
      14. On User 1's window, refresh the data requests page.
      15. Download the zip file.
      16. Inspect the zip file's contents.
      17. Confirm that it contains the folders for the feedback activities.
      18. Confirm for each feedback folder, there is a data.json that contains User 1's responses to the respective feedback.
      19. Repeat the same steps for User 2 and confirm that the User 2's responses for the feedbacks are correctly exported.
      Show
      Create a few feedback modules with a few questions and pages: Feedback 1: On the front page Feedback 2: In a course C1 Enrol users 1 and 2 to C1. User 1: Answer both feedback and complete the submission. User 2: Answer both feedback, but do not complete it (e.g. answer one question then navigate away from the feedback). Make sure to provide different answers than User 1 for easier verification later. Download and install the data privacy tool: (extract the archive in " admin/tool " and rename the folder as " dataprivacy ") master: https://github.com/moodlehq/moodle-tool_dataprivacy/archive/master.zip 34: https://github.com/moodlehq/moodle-tool_dataprivacy/archive/MOODLE_34_STABLE.zip 33: https://github.com/moodlehq/moodle-tool_dataprivacy/archive/MOODLE_33_STABLE.zip On a separate browser window (e.g. incognito mode), log in as User 1. Go to your profile Click Data requests and create a new data export request Open a terminal and go to your Moodle root directory. Run " php admin/cli/cron.php " On the browser window where you're an admin, go to " Site administration / Privacy and policies / Data requests " Approve User 1's request. In the terminal, run " php admin/cli/cron.php " again On User 1's window, refresh the data requests page. Download the zip file. Inspect the zip file's contents. Confirm that it contains the folders for the feedback activities. Confirm for each feedback folder, there is a data.json that contains User 1's responses to the respective feedback. Repeat the same steps for User 2 and confirm that the User 2's responses for the feedbacks are correctly exported.
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-61862-master

      Description

      See summary.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/May/18

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m