Koha-clms/t/Koha
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
..
Auth Bug 35830: Add merge_borrowers subpermission 2025-12-03 15:08:47 +13:00
Authority
…
Database
…
I18N/po/xx_XX/LC_MESSAGES
…
Middleware Bug 33967: Add unit test to ensure SetEnv doesn't compromise $env 2023-07-12 09:41:27 +00:00
Object
…
Plugins Bug 38488: Add Template::Toolkit filter for C4::Scrubber 2025-02-24 16:59:37 +00:00
REST/Plugin Bug 37018: Unit tests 2024-07-23 12:46:20 +02:00
Result
…
SearchEngine Bug 33406: (follow-up) Mock SearchEngine to ensure using ES 2023-10-12 15:45:37 +00:00
Util
…
Config.t Bug 31393: Tidy 2023-11-13 15:28:46 +00:00
Email.t
…
Exceptions.t
…
I18N.t
…
ItemType.t
…
RDF.t
…
Script.t
…
Script_cron.t
…
Z3950responder.t
…
sleep.pl
…
wait.pl
…