Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: alter unsaved search deletion and add option for last used lists #53

Conversation

AlexanderBlanchardAC
Copy link

This commit alters the deletion of unsaved searches to be carried out each time the cron script runs. It also adds the option for libraries to choose to have stored information about the last list a user has accessed deleted after 14 days.

Test Plan:

  1. Apply the patch.
  2. Navigate to Primary Configuration > Library Systems.
  3. Select your library and click to edit.
  4. Use the search bar to find 'Delete last used list after 14 days' or locate this new option under the 'Searching' section.
  5. The box should be unchecked by default as this is an opt in option.
  6. When checked, when the cron runs, information from the users table relating to their last list used will be deleted if it has not been updated for at least 14 days.

This commit alters the deletion of unsaved searches to be carried out each time the cron script runs.
It also adds the option for libraries to choose to have stored information about the last list a
user has accessed deleted after 14 days.
@AlexanderBlanchardAC AlexanderBlanchardAC merged commit f55beb0 into PTFS-Europe:gdpr_cleanup_script May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant