From 09df08cb90df7170dd01bc2c7151d233d70aae72 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 3 Jan 2024 14:52:25 +0100 Subject: [PATCH] Bug 35634: (bug 33105 follow-up) fix typo issues_manage vs issue_manage issue_manage inserted into the DB but issues_manage is tested in the controller script. Test plan: git grep issues_manage should no longer return any results Signed-off-by: Lucas Gass Signed-off-by: Nick Clemens Signed-off-by: Katrin Fischer (cherry picked from commit 2fbd47fdd68678f8f12307b6f5bda1cbcac0ca9a) Signed-off-by: Fridolin Somers --- acqui/vendor_issues.pl | 2 +- api/v1/swagger/paths/acquisitions_vendor_issues.yaml | 2 +- koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/acqui/vendor_issues.pl b/acqui/vendor_issues.pl index 4b154e8d99..bee05028a7 100755 --- a/acqui/vendor_issues.pl +++ b/acqui/vendor_issues.pl @@ -37,7 +37,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "acqui/vendor_issues.tt", query => $input, type => "intranet", - flagsrequired => { acquisition => 'issues_manage' }, + flagsrequired => { acquisition => 'issue_manage' }, } ); diff --git a/api/v1/swagger/paths/acquisitions_vendor_issues.yaml b/api/v1/swagger/paths/acquisitions_vendor_issues.yaml index c60b79dac0..d55cb2a884 100644 --- a/api/v1/swagger/paths/acquisitions_vendor_issues.yaml +++ b/api/v1/swagger/paths/acquisitions_vendor_issues.yaml @@ -88,4 +88,4 @@ $ref: "../swagger.yaml#/definitions/error" x-koha-authorization: permissions: - acquisition: issues_manage + acquisition: issue_manage diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc index 4caf7022c4..10b90813f4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc @@ -463,7 +463,7 @@ ([% name | html %]) [%- CASE 'issue_manage' -%] - + Manage vendor issues ([% name | html %]) -- 2.39.5