Koha-clms/members
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
..
accountline-details.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
alert-subscriptions.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
apikeys.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
boraccount.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
cancel-charge.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
default_messageprefs.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
deletemem.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
discharge.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
discharges.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
files.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
holdshistory.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
housebound.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
ill-requests.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
mancredit.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
maninvoice.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
member-flags.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
member-password.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
member.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
memberentry.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
members-home.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
members-update-do.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
members-update.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
merge-patrons.pl Bug 35830: Add merge_borrowers subpermission 2025-10-31 15:26:14 -06:00
mod_debarment.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
moremember.pl Bug 40886: Ensure patron messages display in proper chronological order 2025-10-06 09:15:22 -06:00
notices.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
patronimage.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
pay.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
paycollect.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
print_overdues.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
printfeercpt.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
printinvoice.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
printnotice.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
printslip.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
purchase-suggestions.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
readingrec.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
recallshistory.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
routing-lists.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
setstatus.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
statistics.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
summary-print.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
two_factor_auth.pl Bug 30724: Fix selenium tests - fix logic if no borrowernumber passed 2025-10-16 15:20:16 -06:00
update-child.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00