[Koha-bugs] [Bug 21191] GDPR: Script to block inactive users (with no successful logins on a defined period)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Sep 20 15:00:18 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21191
--- Comment #7 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Bug 21336 adds a Patrons method lock (wrapper for Koha Patron lock).
So you only need to add a simple search.
Something like:
Koha::Patrons->search({ login_attempts => { '>=', pref_value }, lastseen => {
'<', some_date }) -> lock;
Lock adds the option expire => 1 setting the expire date. Effectively
disallowing holds, issues, etc.
And the option remove => 1 for removing holds and article requests.
So most work done already..
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list