]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Fri, 15 Apr 2022 16:45:21 +0000 (16:45 +0000)
commit7730699767fd4f77a9ac75d58f153dc0627a00a5
treeebcb2823695b34e3a51d4df286b5b38d63632820
parent00cdb2e119de56d8a233a52856f186fb9e1c4a3a
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: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 8e500c57da0e33b517c13715d3a17271fe47c286)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
C4/Members.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
t/db_dependent/Members.t