]> git.koha-community.org Git - koha.git/commit
Bug 28943: Lower the risk of accidental patron deletion
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 7 Sep 2021 12:22:05 +0000 (12:22 +0000)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 18 Apr 2022 21:43:12 +0000 (09:43 +1200)
commit24d02038f8aff7ca70d308da94a365f629cdb103
treebe92018954f9879a7a97a0160beeb12956044217
parent38d69065b89ccc5ed5f18f47e0dacb23ca1ba4ae
Bug 28943: Lower the risk of accidental patron deletion

If you do not use a temporary self registration patron category,
you should actually make the preference
PatronSelfRegistrationExpireTemporaryAccountsDelay empty.

As the comment in sysprefs.sql already said, we should not let
a zero value in the pref delete patrons too.

The module is changed now, the test adjusted and
the description of both related sysprefs modified.

Test plan:
Run t/db_dependent/Members.t
Check in Administration the two adjusted OPAC pref descriptions.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Members.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
t/db_dependent/Members.t