Bugzilla – Attachment 160476 Details for
Bug 35634
Permissions mismatch for vendor issues
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35634: (bug 33105 follow-up) fix typo issues_manage vs issue_manage
Bug-35634-bug-33105-follow-up-fix-typo-issuesmanag.patch (text/plain), 2.32 KB, created by
Lucas Gass (lukeg)
on 2024-01-03 16:13:38 UTC
(
hide
)
Description:
Bug 35634: (bug 33105 follow-up) fix typo issues_manage vs issue_manage
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-01-03 16:13:38 UTC
Size:
2.32 KB
patch
obsolete
>From 19ce7904a6feeecb3efd6ea4b1a700b8422e4c2c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 <lucas@bywatersolutions.com> >--- > 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 @@ > </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> >-- >2.30.2
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 35634
:
160460
|
160476
|
160589