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 <lucas@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 2fbd47fdd6)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Jonathan Druart 2024-01-03 14:52:25 +01:00 committed by Fridolin Somers
parent 1448ac0c26
commit 09df08cb90
3 changed files with 3 additions and 3 deletions

View file

@ -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' },
}
);

View file

@ -88,4 +88,4 @@
$ref: "../swagger.yaml#/definitions/error"
x-koha-authorization:
permissions:
acquisition: issues_manage
acquisition: issue_manage

View file

@ -463,7 +463,7 @@
</span>
<span class="permissioncode">([% name | html %])</span>
[%- CASE 'issue_manage' -%]
<span class="sub_permission issues_manage_subpermission">
<span class="sub_permission issue_manage_subpermission">
Manage vendor issues
</span>
<span class="permissioncode">([% name | html %])</span>