Bugzilla – Attachment 189377 Details for
Bug 34069
Add ability to restore a recently deleted borrower from deletedborrowers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34069: Move permission from borrower to tools
Bug-34069-Move-permission-from-borrower-to-tools.patch (text/plain), 2.24 KB, created by
Lucas Gass (lukeg)
on 2025-11-07 20:22:24 UTC
(
hide
)
Description:
Bug 34069: Move permission from borrower to tools
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-11-07 20:22:24 UTC
Size:
2.24 KB
patch
obsolete
>From c21fab406271fc5dce9ccac376ec8da2ed06e73d Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 7 Nov 2025 20:19:12 +0000 >Subject: [PATCH] Bug 34069: Move permission from borrower to tools > >--- > t/Koha/Auth/Permissions.t | 2 +- > tools/restore_deleted_borrowers.pl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/Koha/Auth/Permissions.t b/t/Koha/Auth/Permissions.t >index fa869c63314..d4e1fb3c531 100755 >--- a/t/Koha/Auth/Permissions.t >+++ b/t/Koha/Auth/Permissions.t >@@ -131,7 +131,6 @@ subtest 'superlibrarian tests' => sub { > 'CAN_user_borrowers_edit_borrowers' => 1, > 'CAN_user_borrowers_list_borrowers' => 1, > 'CAN_user_borrowers_api_validate_password' => 1, >- 'CAN_user_borrowers_restore_deleted_borrowers' => 1, > 'CAN_user_borrowers_view_borrower_infos_from_any_libraries' => 1, > 'CAN_user_borrowers' => 1, > 'CAN_user_cash_management_anonymous_refund' => 1, >@@ -285,6 +284,7 @@ subtest 'superlibrarian tests' => sub { > 'CAN_user_tools_moderate_tags' => 1, > 'CAN_user_tools_records_batchdel' => 1, > 'CAN_user_tools_records_batchmod' => 1, >+ 'CAN_user_tools_restore_deleted_borrowers' => 1, > 'CAN_user_tools_rotating_collections' => 1, > 'CAN_user_tools_schedule_tasks' => 1, > 'CAN_user_tools_stage_marc_import' => 1, >diff --git a/tools/restore_deleted_borrowers.pl b/tools/restore_deleted_borrowers.pl >index 81ed20d34a7..59eee5b1722 100755 >--- a/tools/restore_deleted_borrowers.pl >+++ b/tools/restore_deleted_borrowers.pl >@@ -39,7 +39,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( > template_name => "tools/restore_deleted_borrowers.tt", > query => $input, > type => "intranet", >- flagsrequired => { borrowers => 'restore_deleted_borrowers' }, >+ flagsrequired => { tools => 'restore_deleted_borrowers' }, > } > ); > >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 34069
:
188299
|
188302
|
188988
|
188989
|
188990
|
189027
|
189028
|
189029
|
189030
|
189037
|
189066
|
189067
|
189370
|
189371
|
189372
|
189373
|
189374
|
189375
|
189376
|
189377
|
189642
|
189645
|
189718
|
189773
|
189774
|
189779
|
189780
|
189781
|
189782
|
189783
|
189784
|
189785
|
189786
|
189787
|
189788
|
189789
|
189790
|
189791
|
189792
|
189793
|
189794
|
189795
|
189940
|
189941
|
189942
|
189943
|
189944
|
189945
|
189946
|
189947
|
189948
|
189949
|
189950
|
189951
|
189952
|
189953
|
189954