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

tool_dataprivacy exports as wrong user

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.3.6, 3.4
    • 3.4.2
    • Privacy
    • None

      The user preferences data in a data request export is not necessarily for the correct user, as the export_user_preferences() method makes no use of the passed userid.

      To reproduce, on a server with the boost theme, where the administrator has marked at least one user tour as completed:

      1. Create a new user
      2. As admin, in tool_dataprivacy, create a data request for that user and follow the steps required to get the zip download
      3. Open the zip file and go to System\User preferences\tool_usertours.json
      4. You see data, which you shouldn't, and this is for the admin user

       

            dobedobedoh Andrew Lyons
            maherne Michael Aherne
            Jun Pataleta Jun Pataleta
            Votes:
            1 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.