[Koha-bugs] [Bug 24152] Add the ability to purge pseudonymized data
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Dec 3 19:12:48 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24152
--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 95979
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95979&action=edit
Bug 24152: Add the ability to purge pseudonymized tables
anonymized_* tables have been added by bug 24151, this patch adds the
usual way to purge data from them.
The cleanup_database.pl script has been adjusted to take new parameters
that will help to delete pseudonymized data.
Test plan:
Call the scrip with the new parameter to remove pseudonymized data
* --pseudo-patrons DAYS will remove entries from anonymized_borrowers older
than DAYS day
* --pseudo-patrons can be used without the parameter DAYS but with
-- pseudo-patrons-from and/or --pseudo-patrons-to instead, to provide a
range of date
Same for --pseudo-transactions, see the POD of the script.
You can use the patch from bug 24153 to make the tests easier, data will
not be deleted if the new --confirm flag is not passed.
Sponsored-by: Association KohaLa - https://koha-fr.org/
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list