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

Preferences for wrong user can be used in privacy export

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_39_STABLE
    • MOODLE_310_STABLE, MOODLE_35_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • Hide

      Confirm following testcases pass:

      $ vendor/bin/phpunit lib/editor/tests/privacy_provider_test.php
      $ vendor/bin/phpunit lib/form/tests/privacy_provider_test.php
      $ vendor/bin/phpunit mod/quiz/report/overview/tests/privacy_provider_test.php
      $ vendor/bin/phpunit grade/report/grader/tests/privacy_test.php
      

      Show
      Confirm following testcases pass: $ vendor/bin/phpunit lib/editor/tests/privacy_provider_test.php $ vendor/bin/phpunit lib/form/tests/privacy_provider_test.php $ vendor/bin/phpunit mod/quiz/report/overview/tests/privacy_provider_test.php $ vendor/bin/phpunit grade/report/grader/tests/privacy_test.php

      The $userid parameter passed to various privacy provider ::export_user_preferences() methods isn't always used, which means the ID of the current user is used instead when retrieving user preferences

      Similar to MDL-69586

            pholden Paul Holden
            pholden Paul Holden
            Tim Hunt Tim Hunt
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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