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

Add a global enable / disable delete expired contexts (according to data registry)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Deferred
    • Icon: Minor Minor
    • None
    • 3.5
    • Privacy
    • MOODLE_35_STABLE
    • MDL-61756_master
    • Hide
      1. Go to "Site admin > Privacy and policies > Privacy settings"
      2. There SHOULD be a new setting "Delete personal data when it is no longer required", it SHOULD be disabled by default
      3. Open a CLI, go to moodle's root directory and execute php admin/tool/task/cli/schedule_task.php --execute=\\tool_dataprivacy\\task
        expired_retention_period
      4. You SHOULD read Deletion of expired user data is disabled.
      5. Now enable "Delete personal data when it is no longer required" setting
      6. Execute again the CLI command above
      7. Now you should read Finished deleting expired user data. (apart from other stuff you may read if you already set data registry retention periods)
      Show
      Go to "Site admin > Privacy and policies > Privacy settings" There SHOULD be a new setting "Delete personal data when it is no longer required", it SHOULD be disabled by default Open a CLI, go to moodle's root directory and execute php admin/tool/task/cli/schedule_task.php --execute=\\tool_dataprivacy\\task expired_retention_period You SHOULD read Deletion of expired user data is disabled. Now enable "Delete personal data when it is no longer required" setting Execute again the CLI command above Now you should read Finished deleting expired user data. (apart from other stuff you may read if you already set data registry retention periods)

      The data registry is useful to set a retention period to each moodle context instance. The consequences of not setting retention periods properly can be horrible e.g. 0 years retention period assigned at user context means that all users without ongoing courses will be deleted

      We need moodle admins to explicitly enable this feature before stuff gets deleted automatically.

      I intentionally allowed users to set a 0 years retention period, we may want to reconsider this.

            dmonllao David Monllaó
            dmonllao David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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