Koha-clms/members
Brendan Lawlor 576b80bb1d
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>
(cherry picked from commit 5ce9d5af4e)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
2025-11-25 17:36:10 +01:00
..
accountline-details.pl Bug 37222: Standardize markup for sidebar menus 2025-02-21 16:41:24 +01:00
alert-subscriptions.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
apikeys.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
boraccount.pl Bug 37211: Make notes in patron transactions table editable 2025-04-14 08:51:12 +02:00
cancel-charge.pl Bug 23674: Add ability to add note to canceled charge 2025-03-10 11:42:36 +01:00
default_messageprefs.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
deletemem.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
discharge.pl Bug 14250: Patron with fines cannot be discharged anymore 2025-04-22 08:46:26 +02:00
discharges.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
files.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
holdshistory.pl Bug 40401: Implement Koha::Patron->is_anonymous 2025-07-24 21:04:38 +02:00
housebound.pl Bug 39325: Manual fixes 2025-04-28 18:51:23 +02:00
ill-requests.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
mancredit.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
maninvoice.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01: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 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
memberentry.pl Bug 40459: Preferred name is lost when editing partial record 2025-08-22 09:47:59 +02:00
members-home.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
members-update-do.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
members-update.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
merge-patrons.pl Bug 35830: Add merge_borrowers subpermission 2025-11-25 17:36:10 +01:00
mod_debarment.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
moremember.pl Bug 40886: Ensure patron messages display in proper chronological order 2025-10-23 23:06:48 +02:00
notices.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
patronimage.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
pay.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
paycollect.pl Bug 40305: Fix 'tendered' vs 'collected' variable name inconsistency 2025-09-16 14:02:24 +02:00
print_overdues.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
printfeercpt.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
printinvoice.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
printnotice.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
printslip.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
purchase-suggestions.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
readingrec.pl Bug 40401: Implement Koha::Patron->is_anonymous 2025-07-24 21:04:38 +02:00
recallshistory.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
routing-lists.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
setstatus.pl Bug 38847: Fix error when renewing an expired child patron without a guarantor 2025-02-12 15:28:17 +01:00
statistics.pl Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
summary-print.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
two_factor_auth.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
update-child.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00