]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Sat, 22 Jan 2022 07:34:51 +0000 (21:34 -1000)
commit54466c6bd7708f6e2e660f8b4015178a63a9de06
treeb338d672f44829eaa71700ef98d63c44bc29f7ea
parentdb07ca09cc3da4d32fad03d629f834d6e02db169
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>
C4/Members.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
t/db_dependent/Members.t