Koha-clms/members
Brendan Lawlor 8ca26c8a85
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: wainuiwitikapark <wainuiwitikapark@catalyst.net.nz>
2025-12-03 15:08:47 +13:00
..
accountline-details.pl
…
apikeys.pl
…
boraccount.pl
…
cancel-charge.pl
…
default_messageprefs.pl
…
deletemem.pl
…
discharge.pl
…
discharges.pl
…
files.pl
…
holdshistory.pl
…
housebound.pl
…
ill-requests.pl
…
mancredit.pl
…
maninvoice.pl
…
member-flags.pl
…
member-password.pl
…
member.pl
…
memberentry.pl
…
members-home.pl
…
members-update-do.pl
…
members-update.pl
…
merge-patrons.pl
…
mod_debarment.pl
…
moremember.pl
…
notices.pl
…
patronimage.pl
…
pay.pl
…
paycollect.pl
…
print_overdues.pl
…
printfeercpt.pl
…
printinvoice.pl
…
printnotice.pl
…
printslip.pl
…
purchase-suggestions.pl
…
readingrec.pl
…
recallshistory.pl
…
routing-lists.pl
…
search.pl
…
setstatus.pl
…
statistics.pl
…
summary-print.pl
…
two_factor_auth.pl
…
update-child.pl
…