Bug 39913 - Fully delete patrons when removing due to refused GDPR consent
Summary: Fully delete patrons when removing due to refused GDPR consent
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 21336
Blocks:
  Show dependency treegraph
 
Reported: 2025-05-15 18:16 UTC by Andrew Fuerste-Henry
Modified: 2025-05-15 18:16 UTC (History)
2 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2025-05-15 18:16:38 UTC
When cleanup_database deletes patrons based on the PatronRemovalDelay system preference, it sends those patrons to the deleteborrowers table. It seems like it would be more in keeping with user/patron expectations to fully delete those borrowers, skipping deletedborrowers entirely.

We're looking at developing a feature for recovering borrowers from deletedborrowers, and we definitely would not want to allow restoration of patrons who declined GDPR consent. That'd be easier to avoid if we just delete them entirely in the first place.