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

Theme boost privacy export information should contain drawer states

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-73548-master
    • Hide

      Test the privacy changes

      Required for this test:

      • test user
      • test course with some blocks
      • enrolment for the test user in this course
      1. Create a test user and a course
      2. Login as your test user and navigate to the course
      3. Make sure your browser window is large and open both the courseindex and blocks drawer
      4. Open a new (private) browser window
      5. Login as admin and navigate to Site Administration > Users > Privacy and Policies > Data requests
      6. Click the new request button, select your test user and request 'Export of al my personal data'
      7. Save changes
      8. Find your test user in the Data requests list and approve the request
      9. Run Moodle cron
      10. Download the request
      11. Open the downloaded zip file and find theme_boost.js
      12. Verify it has the correct drawer status info:

      var data_file_115 = {
      var data_file_129 = {
          "drawer-open-nav": {
              "value": "false",
              "description": "The current preference for the navigation drawer is closed."
          },
          "drawer-open-index": {
              "value": "1",
              "description": "The current preference for the index drawer is open."
          },
          "drawer-open-block": {
              "value": "1",
              "description": "The current preference for the blocks drawer is open."
          }
      }
      

      1. Go back to the browser window with your test user
      2. Close the course index and block drawer
      3. Switch to the browser window with your admin user
      4. repeat steps 6 to 12
      5. Verify you see this output:

      var data_file_115 = {
      var data_file_115 = {
          "drawer-open-nav": {
              "value": "false",
              "description": "The current preference for the navigation drawer is closed."
          },
          "drawer-open-index": {
              "value": "0",
              "description": "The current preference for the index drawer is closed."
          },
          "drawer-open-block": {
              "value": "0",
              "description": "The current preference for the blocks drawer is closed."
          }
      }
      

      Show
      Test the privacy changes Required for this test: test user test course with some blocks enrolment for the test user in this course Create a test user and a course Login as your test user and navigate to the course Make sure your browser window is large and open both the courseindex and blocks drawer Open a new (private) browser window Login as admin and navigate to Site Administration > Users > Privacy and Policies > Data requests Click the new request button, select your test user and request 'Export of al my personal data' Save changes Find your test user in the Data requests list and approve the request Run Moodle cron Download the request Open the downloaded zip file and find theme_boost.js Verify it has the correct drawer status info: var data_file_115 = { var data_file_129 = { "drawer-open-nav" : { "value" : "false" , "description" : "The current preference for the navigation drawer is closed." }, "drawer-open-index" : { "value" : "1" , "description" : "The current preference for the index drawer is open." }, "drawer-open-block" : { "value" : "1" , "description" : "The current preference for the blocks drawer is open." } } Go back to the browser window with your test user Close the course index and block drawer Switch to the browser window with your admin user repeat steps 6 to 12 Verify you see this output: var data_file_115 = { var data_file_115 = { "drawer-open-nav" : { "value" : "false" , "description" : "The current preference for the navigation drawer is closed." }, "drawer-open-index" : { "value" : "0" , "description" : "The current preference for the index drawer is closed." }, "drawer-open-block" : { "value" : "0" , "description" : "The current preference for the blocks drawer is closed." } }

      The theme boost privacy api should store the preferences for the drawer states. Currently it exports privacy info on the removed navdrawer

            basbrands Bas Brands
            basbrands Bas Brands
            Glyn (Mathew) May Glyn (Mathew) May
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 35 minutes
                5h 35m

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