Koha-clms/koha-tmpl/intranet-tmpl/prog/en/includes
Alex Carver [Acerock7] 9403a95104
Bug 41253: Item Modification by Age should have its own permission
Adds a new permission to control access to the Item Modification by Age tool in the Cataloging Module.

Previously access to this tool was controlled by the items_batchmod permission. This can be an issue for consortiums
where staff members should be able to batch change items that belong to their library, but who shouldn't be able
to define item aging rules. Staff with automatic item aging tool access can use authorized values to change items
that belong to other libraries.

This patch introduces a dedicated permission (items_modification_by_age) to restrict access to the tool to users
with this permission.

- new permission definition via atomicupdate
- removal of dependency on items_batchmod for tool access
- updated permission UI display
- updated cataloguing-home button visibility
- updated flagsrequired check in tool script

Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
2026-09-28 15:29:45 +00:00
..
background_jobs Bug 34632: Add patron_import background job display template 2026-09-11 16:06:04 +00:00
catalogue Bug 41617: Remove extra spaces breaking CSV formatting 2026-02-06 15:17:28 -07:00
csv_headers Bug 40880: Correct columns headers for CSV export from item search 2025-09-26 10:36:57 -06:00
html_helpers/tables/items Bug 31391: Implement UseRecalls choices on staff interface 2026-09-14 14:15:52 +00:00
ill/backends/Standard Bug 38365: Fix xt/author/valid-templates.t 2026-03-17 09:38:50 +01:00
mana Bug 41373: Fix Mana report sharing when only one language is enabled 2026-05-18 09:30:17 -06:00
modals Bug 31391: Request recalls and convert reserves on staff interface 2026-09-14 14:15:54 +00:00
str Bug 42766: (QA follow-up) Add 'SCRIPTS' to log viewer 2026-08-04 10:20:54 +00:00
about-team.inc Bug 40022: (QA follow-up) Tidy about-team.inc, about.tt 2025-06-26 11:10:01 -06:00
accounts.inc Bug 38664: Fix some tests 2025-02-11 14:58:26 +01:00
acquisitions-add-to-basket.inc Bug 42564: Upgrade Font Awesome in the staff interface to 7.2 2026-06-19 12:00:10 +00:00
acquisitions-menu.inc Bug 38010: (QA follow-up) Move island hydration to container wrapper 2025-05-02 17:19:11 +02:00
acquisitions-search.inc Bug 38010: (QA follow-up) Update routes to include 'acquisition' 2025-05-02 17:19:09 +02:00
acquisitions-toolbar.inc Bug 38010: (QA follow-up) Update routes to include 'acquisition' 2025-05-02 17:19:09 +02:00
action-logs.inc Bug 42766: (QA follow-up) Add 'SCRIPTS' to log viewer 2026-08-04 10:20:54 +00:00
additional-fields-display.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
additional-fields-entry.inc Bug 39664: Fix selection of repeatable additional fields linked with AV 2025-04-23 09:35:07 +02:00
additional-filters.inc Bug 40656: (follow-up) Create reusable additional filters library for DataTables 2025-09-03 14:00:39 -06:00
admin-icon-selection.inc Bug 42128: Remove event attribute from admin-icon-selection.inc 2026-06-19 12:00:22 +00:00
admin-items-search-field-form.inc Bug 42118: Update various admin pages to use grid layout for forms - Part 2 2026-07-28 14:33:03 +00:00
admin-menu.inc Bug 41367: Add AdminMenu island and integrate into Record sources 2026-03-20 11:54:31 +00:00
adv-search.inc Bug 30699: Fix various HTML validity errors in staff interface templates 2024-11-07 18:49:40 +01:00
auth-finder-search.inc Bug 41093: Specify blank value for 'None specified' 2026-02-06 15:17:40 -07:00
auth-two-factor.inc Bug 30724: Allow superlibrarians to manage 2FA for other patrons 2025-10-15 16:12:03 -06:00
authorities-search-results.inc Bug 36660: (follow-up) Use mainentry search for more accurate linked results 2025-02-19 17:05:34 +01:00
authorities-search.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
authorities-toolbar.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
authorities.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
authority-detail-modal.inc Bug 35402: Update the OPAC and staff interface to Bootstrap 5 2024-08-23 15:58:41 +02:00
av-build-dropbox.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
biblio-title-head.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
biblio-title.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
biblio-view-menu.inc Bug 31391: Implement UseRecalls choices on staff interface 2026-09-14 14:15:52 +00:00
blocked-fines.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
blocking_errors.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
budget_planning.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
budgets-active-currency.inc Bug 35402: Update the OPAC and staff interface to Bootstrap 5 2024-08-23 15:58:41 +02:00
budgets-admin-search.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
budgets-admin-toolbar.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
calendar.inc Bug 41061: Remove unused calendar JS functions 2026-07-20 09:15:50 +00:00
cat-menu.inc Bug 17387: (follow-up) move records_restore under editcatalogue permission 2026-04-15 14:10:27 -06:00
cat-search.inc Bug 35850: Use template wrapper for tabs: Header search forms 2024-03-22 15:47:34 +01:00
cat-toolbar.inc Bug 31391: Add "Place recall" button in detail page toolbar 2026-09-14 14:15:55 +00:00
catalog-strings.inc Bug 38365: Fix xt/author/valid-templates.t 2026-03-17 09:38:50 +01:00
cataloging-search.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
catalogue-search-box.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
cateditor-ui.inc Bug 42166: Check for 008 before adding the date to it 2026-07-27 12:12:50 +00:00
cateditor-widgets-marc21.inc Bug 38365: Fix xt/author/valid-templates.t 2026-03-17 09:38:50 +01:00
chart.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
checkin-search-box.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
checkin-search.inc Bug 35850: Use template wrapper for tabs: Header search forms 2024-03-22 15:47:34 +01:00
checkouts-table-footer.inc Bug 41314: Fix column visibility on the checkouts table 2025-12-01 08:34:01 -07:00
checkouts-table.inc Bug 23415: Add debt override support to circulation checkout page 2026-03-22 23:27:26 +01:00
circ-menu.inc Bug 31391: Implement UseRecalls choices on staff interface 2026-09-14 14:15:52 +00:00
circ-nav.inc Bug 31391: Implement UseRecalls choices on staff interface 2026-09-14 14:15:52 +00:00
circ-search.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
cities-admin-search.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
clubs-table.inc Bug 38984: Uniformize noSort NoExport NoExport 2025-04-22 08:46:33 +02:00
contracts-admin-search.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
copy-to-clipboard-button.inc Bug 36275: (follow-up) Add tooltip feedback 2025-04-25 08:46:40 +02:00
country-list.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
csrf-token.inc Bug 34478: op =~ ^cud- 2024-03-01 10:56:05 +01:00
currencies-admin-search.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
datatables.inc Bug 8179: (follow-up) Fix currency change and remove datatables select 2023-05-15 08:53:52 -03:00
date-format.inc
…
delimiter_text.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
desks-admin-search.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
doc-head-close-receipt.inc
…
doc-head-close.inc Bug 42564: (follow-up) Actually remove calls to old assets 2026-06-19 12:00:11 +00:00
doc-head-open.inc Bug 38664: Manual revert 2025-02-11 14:58:26 +01:00
empty_line.inc
…
erm-search.inc Bug 35850: Use template wrapper for tabs: Header search forms 2024-03-22 15:47:34 +01:00
facets.inc Bug 42330: (follow-up) Some corrections to sidebars 2026-09-04 11:23:19 +00:00
filter-orders.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
format_price.inc Bug 38365: Fix xt/author/valid-templates.t 2026-03-17 09:38:50 +01:00
guided-reports-view.inc Bug 42406: (QA follow-up) fix little inconsistencies and errors 2026-05-01 11:04:30 -06:00
header.inc Bug 37762: VueJS ILL Module 2026-05-08 12:25:38 -06:00
hold-group-modal.inc Bug 15516: (follow-up) Fix some merge bugs 2025-09-03 11:42:02 -06:00
holds_table.inc Bug 42915: (QA follow-up) Declare all_libraries once, unconditionally, in request.tt 2026-07-17 13:49:15 +00:00
home-search.inc Bug 35850: Use template wrapper for tabs: Header search forms 2024-03-22 15:47:34 +01:00
html-customization-help.inc Bug 40004: Replace 'self checkout' with 'self-checkout' 2025-07-28 16:26:39 -06:00
html_helpers.inc Bug 32748: (QA follow-up) Fix spelling and tidy 2026-09-15 14:45:02 +00:00
i18n.inc
…
ill-availability-table.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
ill-batch-modal-strings.inc Bug 38365: Fix xt/author/valid-templates.t 2026-03-17 09:38:50 +01:00
ill-batch-modal.inc Bug 39179: CSS and layout adjustments: 2025-05-09 09:12:17 +02:00
ill-batch-table-strings.inc Bug 38365: Fix xt/author/valid-templates.t 2026-03-17 09:38:50 +01:00
ill-batch.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
ill-filter.inc Bug 40504: (QA follow-up): Add 'managed by' filter 2026-03-26 14:21:23 +01:00
ill-list-table-strings.inc Bug 38365: Fix xt/author/valid-templates.t 2026-03-17 09:38:50 +01:00
ill-list-table.inc Bug 40504: Add 'managedby' to illrequests 2026-03-26 14:21:22 +01:00
ill-request-log.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
ill-toolbar.inc Bug 41257: Remove 'btn-sm' CSS class 2025-11-18 06:56:51 -07:00
installer-doc-head-close.inc Bug 42564: (follow-up) Actually remove calls to old assets 2026-06-19 12:00:11 +00:00
installer-intranet-bottom.inc Bug 38365: Add CSP nonces to all inline script and style tags 2026-03-16 11:57:42 +01:00
installer-strings.inc Bug 38365: Fix xt/author/valid-templates.t 2026-03-17 09:38:50 +01:00
intranet-bottom.inc Bug 43260: (follow-up) Move debug menu JS into js_includes.inc 2026-08-14 12:09:32 +00:00
intranetstylesheet.inc Bug 40040: RTL CSS files not loaded in templates; legacy right-to-left.css causing UI issues 2025-09-05 08:02:27 -06:00
item-status.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
job_progress.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
js-biblio-format.inc Bug 38365: Fix xt/author/valid-templates.t 2026-03-17 09:38:50 +01:00
js-date-format.inc Bug 38365: Add CSP nonces to all inline script and style tags 2026-03-16 11:57:42 +01:00
js-patron-format-address.inc Bug 38365: Add CSP nonces to all inline script and style tags 2026-03-16 11:57:42 +01:00
js-patron-get-age.inc Bug 38365: Fix xt/author/valid-templates.t 2026-03-17 09:38:50 +01:00
js_includes.inc Bug 41995: Add nonce 2026-09-04 11:24:14 +00:00
keyboard_shortcuts.inc Bug 40633: Open fixed-length field helpers from the advanced editor 2026-04-23 16:04:00 -06:00
labels-menu.inc Bug 37250: (follow-up) More improvements to menus 2025-03-17 11:59:55 +01:00
labels-toolbar.inc Bug 37250: (follow-up) More improvements to menus 2025-03-17 11:59:55 +01:00
langmenu-staff-top.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
last-borrower.inc Bug 38365: Fix xt/author/valid-templates.t 2026-03-17 09:38:50 +01:00
letters-search.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
localization-link.inc Bug 38136: Refactor database translations (alternative) 2026-04-15 11:37:14 -06:00
main-container.inc Bug 42330: Use main-container from all our templates 2026-09-04 11:23:13 +00:00
manageable-mixin.inc Bug 40504: UI improvements 2026-03-26 14:21:22 +01:00
member-alt-address-style.inc Bug 41638: (follow-up) Fix more instances, some markup errors 2026-03-26 14:21:30 +01:00
member-alt-contact-style.inc Bug 41638: (QA follow-up) Make label for alt contact city consistent with main and alt address city 2026-03-26 14:21:30 +01:00
member-attribute-types.inc Bug 41638: Add IDs to labels on patron edit 2026-03-26 14:21:29 +01:00
member-display-address-style.inc Bug 40320: (bug 40319 follow-up) Add Cypress tests 2025-09-29 14:02:29 -06:00
member-display-alt-address-style.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
member-main-address-style.inc Bug 41638: (follow-up) Fix more instances, some markup errors 2026-03-26 14:21:30 +01:00
member-search-box.inc Bug 41040: (follow-up) Move JS to global JS file 2026-02-25 07:36:56 -07:00
members-patron-selections.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
members-toolbar.inc Bug 35267: Migrate accounts_summary to printslip 2026-04-17 09:18:07 -06:00
merge-record.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
messages.inc Bug 35813: Migrate 'transient_result' to 'messages.inc' 2024-05-13 14:00:06 +02:00
messaging-preference-form.inc Bug 31391: Implement UseRecalls choices on staff interface 2026-09-14 14:15:52 +00:00
modal-claims.inc Bug 42731: Migrate modal-claims.inc $.post to api-client.js 2026-07-27 12:12:56 +00:00
noadd-warnings.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
oai-admin-search.inc Bug 41677: Use template wrapper for tabs: OAI repositories 2026-02-06 15:17:02 -07:00
onboarding_messages.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
page-numbers.inc Bug 41177: Add aria-disabled to breadcrumbs 2025-11-18 06:56:52 -07:00
password_check.inc Bug 38365: Fix xt/author/valid-templates.t 2026-03-17 09:38:50 +01:00
patron-age.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
patron-article-requests.inc Bug 30915: Remove Context.Scalar calls from templates 2025-09-26 10:37:01 -06:00
patron-detail-tabs.inc Bug 31391: Implement UseRecalls choices on staff interface 2026-09-14 14:15:52 +00:00
patron-restrictions-tab.inc Bug 42904: Prevent XSS in patron restriction comments 2026-08-26 09:23:34 +00:00
patron-return-claims.inc Bug 38984: Uniformize noSort NoExport NoExport 2025-04-22 08:46:33 +02:00
patron-search-box.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
patron-search-header.inc Bug 35850: Use template wrapper for tabs: Header search forms 2024-03-22 15:47:34 +01:00
patron-search.inc Bug 42330: Tidy 2026-09-04 11:23:17 +00:00
patron-sex-label.inc Bug 41105: (QA follow-up) DRY out gender label rendering 2026-08-14 12:09:18 +00:00
patron-title.inc Bug 41343: Don't fetch patron objects per overdue 2026-05-01 11:04:36 -06:00
patron-toolbar.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
patron_messages.inc Bug 39658: (follow-up) block checkout when linked accounts over charge limit 2026-09-09 12:07:41 +00:00
patroncards-errors.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
patroncards-toolbar.inc Bug 35402: Update the OPAC and staff interface to Bootstrap 5 2024-08-23 15:58:41 +02:00
patronfields.inc Bug 36278: Relabel "Gone no address" 2025-08-20 12:53:42 -06:00
patrons-admin-search.inc Bug 37826: Remove the use of the script_name variable where it is unnecessary 2024-12-27 17:33:51 +01:00
permissions.inc Bug 41253: Item Modification by Age should have its own permission 2026-09-28 15:29:45 +00:00
popup-bottom.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
pos-menu.inc Bug 37222: Standardize markup for sidebar menus 2025-02-21 16:41:24 +01:00
prefs-admin-search.inc Bug 41995: Autocomplete for syspref search 2026-09-04 11:24:09 +00:00
prefs-menu.inc Bug 16631: Institute library limits 2026-07-28 14:32:25 +00:00
preservation-menu.inc Bug 37222: Standardize markup for sidebar menus 2025-02-21 16:41:24 +01:00
preservation-search.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
preservation-toolbar.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
recalls.inc Bug 40568: Various corrections to recalls templates 2026-03-05 08:33:54 -07:00
relatives-issues-table.inc Bug 33528: Use template wrapper for tabs: Patron details page 2023-06-14 09:22:02 -03:00
renew-search-box.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
renew_results.inc
…
renew_strings.inc Bug 23415: (follow-up) Fix typo 'oweing' -> 'owing' in templates and notices 2026-03-22 23:52:15 +01:00
reports-menu.inc Bug 38414: (QA follow-up) Adjust templates 2026-05-01 11:04:29 -06:00
reports-toolbar.inc Bug 42667: Hide edit controls as needed 2026-09-21 11:56:34 +00:00
resort_form.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
restriction-types.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
rotating-collections-toolbar.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
search_indexes.inc Bug 40042: Add default value 0 for index var in search_indexes.inc 2025-06-06 09:41:13 -06:00
select2.inc
…
select_manager.inc Bug 40504: (QA follow-up) Fix QA script failures 2026-03-26 14:21:25 +01:00
serial-status.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
serials-advsearch.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
serials-filters.inc Bug 42564: Upgrade Font Awesome in the staff interface to 7.2 2026-06-19 12:00:10 +00:00
serials-menu.inc Bug 37094: Improve layout of serial claims page 2025-02-28 16:05:57 +01:00
serials-search.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
serials-toolbar.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
shortcut.inc Bug 42149: (QA follow-up) Add aria-label to shortcut nav 2026-03-26 14:21:13 +01:00
slip-print.inc Bug 41705: Use PRG pattern for POS receipt printing to avoid popup blockers 2026-06-03 12:08:08 +00:00
stockrotation-toolbar.inc Bug 35402: Update the OPAC and staff interface to Bootstrap 5 2024-08-23 15:58:41 +02:00
sub-header.inc Bug 30952: Staff interface redesign (header) 2022-10-12 15:58:16 -03:00
subscriptions-search.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
subtype_limits.inc Bug 39325: (follow-up) A few minor corrections 2025-04-28 18:51:29 +02:00
subtypes_unimarc.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
suggestions-add-search.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
tags-filter.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
throttled-button.inc Bug 15792: Throttle patron renewal links to prevent double-clicks 2026-04-09 08:27:25 -06:00
tools-item-action.inc Bug 39294: Fix includes to properly remember selections 2025-04-10 09:13:13 +02:00
tools-menu.inc Bug 10190: Deprecate permission 2026-09-10 14:24:48 +00:00
tools-nomatch-action.inc Bug 39294: Fix includes to properly remember selections 2025-04-10 09:13:13 +02:00
tools-overlay-action.inc Bug 39294: Fix includes to properly remember selections 2025-04-10 09:13:13 +02:00
transaction_types.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
transfer_reasons.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
validator-strings.inc Bug 38365: Fix xt/author/valid-templates.t 2026-03-17 09:38:50 +01:00
vendor-menu.inc Bug 38010: (QA follow-up) Move island hydration to container wrapper 2025-05-02 17:19:11 +02:00
virtualshelves-toolbar.inc Bug 41958: Rename BibTeX cart and list download options in the staff interface 2026-03-05 08:34:01 -07:00
waiting_holds.inc Bug 40755: Fix typo in waiting_holds.inc 2025-09-05 08:02:25 -06:00
wrapper-staff-tool-plugin.inc Bug 42163: (follow-up) fix plugin wrapper menus, plugins-home.tt, and plugins-upload.tt 2026-04-23 09:24:56 -06:00
wysiwyg-systempreferences.inc Bug 38365: Add CSP nonces to all inline script and style tags 2026-03-16 11:57:42 +01:00
xslt-handler.inc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
z3950-admin-search.inc Bug 35850: Use template wrapper for tabs: Header search forms 2024-03-22 15:47:34 +01:00
z3950_search.inc Bug 38365: Fix xt/author/valid-templates.t 2026-03-17 09:38:50 +01:00