Bugzilla – Attachment 183891 Details for
Bug 40332
Tools menu sidebar category not shown for users with batch_extend_due_dates only
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40332: Show tools sidebar category for batch extend due dates permission
Bug-40332-Show-tools-sidebar-category-for-batch-ex.patch (text/plain), 2.74 KB, created by
Andrew Fuerste-Henry
on 2025-07-09 13:31:57 UTC
(
hide
)
Description:
Bug 40332: Show tools sidebar category for batch extend due dates permission
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2025-07-09 13:31:57 UTC
Size:
2.74 KB
patch
obsolete
>From 32fb6ccd8c559e5c73bb7d1b270859cbe7635f56 Mon Sep 17 00:00:00 2001 >From: Andrew Fuerste Henry <andrew@bywatersolutions.com> >Date: Wed, 9 Jul 2025 13:31:29 +0000 >Subject: [PATCH] Bug 40332: Show tools sidebar category for batch extend due > dates permission > >To test: >1 - have or create a user with the permissions batch_extend_due_dates edit_quotes but no other Tools >2 - log into koha as that user, go to Tools module, confirm both Batch Extend Due Dates and Quote Editor are available from the Tools module home page >3 - Click into either available tool, confirm the sidebar menu contains the category Additional Tools and a link to Quote Editor, but nothing else >4 - add the edit_notices permission to your user >5 - reload your page from step 3, confirm the sidebar menu now also contains the Patrons & Circulation category with both Notices & Slips and Batch Extend Due Dates. >6 - apply patch, restart services, reload page, confirm nothing has changed >7 - remove the edit_notices permission from your user >8 - reload your page from step 3, confirm the sidebar menu now contains the Patrons & Circulation category with only Batch Extend Due Dates. >--- > koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc >index 28cd71f6b7c..29a626aa1df 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc >@@ -6,7 +6,7 @@ > <ul> > <li><a href="/cgi-bin/koha/tools/tools-home.pl">Tools home</a></li> > </ul> >- [% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons || CAN_user_tools_edit_patrons || CAN_user_tools_moderate_tags || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) || CAN_user_tools_rotating_collections ) %] >+ [% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons || CAN_user_tools_edit_patrons || CAN_user_tools_batch_extend_due_dates || CAN_user_tools_moderate_tags || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) || CAN_user_tools_rotating_collections ) %] > <h5>Patrons and circulation</h5> > <ul> > [% IF ( CAN_user_tools_manage_patron_lists ) %] >-- >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 40332
:
183891
|
183906
|
183998