Koha/admin
Nick Clemens a732138d9d Bug 29924: Add password expiration feature
This patch adds the ability to define password_expiry_days for a patron
category.

When defined a patron's password will expire after X days and they will
be required to reset their password. If OPAC resets are enabled for the
catgeory they may do so on their own, otherwise they will need to
contact the library

To test:
 1 - Apply patch, updatedatabase
 2 - Set 'Password expiration' for a patron category
     Home-> Administration-> Patron categories-> Edit
 3 - Create a new patron in this category with a userid/password set,
     and an email
 4 - Confirm their password_expiration_date field is set
     SELECT password_expiration_date FROM borrowers WHERE borrowernumber=51;
 5 - Create a new patron, do not set a password
 6 - Confirm their password_expiration_date field is NULL
 7 - Update the patron with an expiration to be expired
     UPDATE borrowers SET password_expiration_date='2022-01-01' WHERE borrowernumber=51;
 8 - Give the borrower catalogue permission
 9 - Attempt to log in to Straff interface
10 - Confirm you are signed out and notified that password must be
     reset
11 - Attempt to sign in to OPAC
12 - Confirm you are signed out and notified password must be reset
13 - Enable password reset for the patron's category and perform a
     password reset
     Note: you will have to find the link in the message_queue unless
     you have emails setup on your test environment
     SELECT * FROM message_queue WHERE borrowernumber=51;
14 - Confirm that you can now sign in and password_expiration_date field
     is set 10 days in the future
15 - Expire the patron's password again
16 - Change the patron's password via the staff interface
17 - Confirm they can sign in and the expiration is updated

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Bob Bennhoff <bbennhoff@clicweb.org>

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-06 10:33:09 -10:00
..
searchengine/elasticsearch Bug 30142: Remove spaces from ElasticSearch mapping MARC fields 2022-04-13 15:55:39 +02:00
additional-fields.pl
admin-home.pl
adveditorshortcuts.pl
aqbudgetperiods.pl
aqbudgets.pl
aqcontract.pl
aqplan.pl
audio_alerts.pl
auth_subfields_structure.pl Bug 30489: Convert MARC and authority subfield edit tabs to Bootstrap 2022-05-02 11:22:57 -10:00
auth_tag_structure.pl
authorised_values.pl Bug 7374: Add remote image option for authorized values 2022-02-10 14:44:23 -10:00
authtypes.pl
background_jobs.pl
biblio_framework.pl
branch_transfer_limits.pl
branches.pl Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
cash_registers.pl
categories.pl Bug 29924: Add password expiration feature 2022-05-06 10:33:09 -10:00
check_budget_parent.pl
check_parent_total.pl
checkmarc.pl
cities.pl
classsources.pl
clone-rules.pl
columns_settings.pl Bug 30494: Replace the use of jQueryUI Accordion on the table settings page 2022-05-02 11:22:57 -10:00
columns_settings.yml Bug 29092: Add timestamp to account-fines table column settings 2022-04-27 11:20:45 -10:00
credit_types.pl
currency.pl
debit_types.pl
desks.pl
didyoumean.pl
edi_accounts.pl Bug 30130: Use new standard field in account definition 2022-04-13 15:55:39 +02:00
edi_ean_accounts.pl
import_export_authtype.pl Bug 13952: (follow-up) JS translatability, clean warns, other 2022-04-04 16:23:46 +02:00
import_export_framework.pl Bug 13952: (follow-up) Fixing export on default biblio framework 2022-04-04 16:23:45 +02:00
item_circulation_alerts.pl Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
items_search_field.pl
items_search_fields.pl
itemtypes.pl Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
koha2marclinks.pl
library_groups.pl
localization.pl
marc-overlay-rules.pl
marc_subfields_structure.pl Bug 30489: Convert MARC and authority subfield edit tabs to Bootstrap 2022-05-02 11:22:57 -10:00
marctagstructure.pl
matching-rules.pl
oai_set_mappings.pl
oai_sets.pl
overdrive.pl
patron-attr-types.pl
preferences.pl Bug 29695: Make "modalselect" syspref's values translatable 2022-04-12 11:40:16 +02:00
share_content.pl
smart-rules.pl Bug 19532: Database and installer stuff 2022-03-14 22:45:50 -10:00
sms_providers.pl Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
smtp_servers.pl
sru_modmapping.pl
systempreferences.pl
transfer_limits.pl
transport-cost-matrix.pl
usage_statistics.pl
z3950servers.pl