Koha-clms/installer/data/mysql/mandatory
Brendan Lawlor 5ce9d5af4e
Bug 35830: Add merge_borrowers subpermission
Merging patrons only required edit_borrowers permission
but would result in a patron deletion.

This patch requires a new merge_borrowers subpermission

To test:
1. Give a patron the following permissions
    catalogue, edit_borrowers, list_borrowers
2. Log into the staff interface as the patron
3. Do a patron search and select 2 patrons
4. Click merge patron - success - a patron got deleted
5. Apply patch, updatedatabase and restart_all
6. Repeat steps 3 and 4 - you can't
7. Add the new permission for merge_borrowers
8. Repeat steps 3 and 4 - now you can
9. prove t/Koha/Auth/Patrons.t

Sponsored-by: CLAMS
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2025-10-31 15:26:14 -06:00
..
audio_alerts.sql Bug 23895: Move installer file into the mandatory directory 2020-10-14 14:50:07 +02:00
auth_val_cat.sql Bug 38222: (QA follow-up) Add av category update 2024-10-25 16:41:35 +02:00
keyboard_shortcuts.sql Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
message_transport_types.sql Bug 25334: Add generic 'phone' message transport type 2020-11-05 15:24:20 +01:00
sample_notices_message_attributes.sql Bug 30300: Add a patron expiry messaging preference 2025-02-03 14:26:53 +01:00
sample_notices_message_transports.sql Bug 30300: Add a patron expiry messaging preference 2025-02-03 14:26:53 +01:00
subtag_registry.sql Bug 39147: Add more missing languages 2025-04-23 09:35:18 +02:00
sysprefs.sql Bug 30633: Remove OPACHoldingsDefaultSortField 2025-10-24 07:57:09 -06:00
userflags.sql Bug 30708: DB changes 2023-10-18 15:41:41 -03:00
userpermissions.sql Bug 35830: Add merge_borrowers subpermission 2025-10-31 15:26:14 -06:00