Bugzilla – Attachment 173714 Details for
Bug 38298
EDIFACT breadcrumbs need to be permissions based
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38298: Add permission checks to EDI breadcrumbs
Bug-38298-Add-permission-checks-to-EDI-breadcrumbs.patch (text/plain), 1.61 KB, created by
Matt Blenkinsop
on 2024-10-30 12:14:32 UTC
(
hide
)
Description:
Bug 38298: Add permission checks to EDI breadcrumbs
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2024-10-30 12:14:32 UTC
Size:
1.61 KB
patch
obsolete
>From 2bb82b50a1bbb1ab61249f50c9a50fcb09585e09 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Wed, 30 Oct 2024 12:10:27 +0000 >Subject: [PATCH] Bug 38298: Add permission checks to EDI breadcrumbs > >Test plan: >1) Choose a staff patron and assign them the following permissions > - catalogue > - edi_manage >2) Enable the edifact syspref >3) Log in as the chosen staff patron and navigate to Acquisitions > EDI accounts from the left hand menu >4) The breadcrumb will contain Administration >5) Clicking this will result in a permissions error >6) Apply patch >7) Refresh the page and the breadcrumb will now read Acquisitions and will work >--- > .../intranet-tmpl/prog/en/modules/admin/edi_accounts.tt | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt >index 6068ebcfe56..bd6b58ad8a3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt >@@ -29,7 +29,11 @@ > [% WRAPPER 'sub-header.inc' %] > [% WRAPPER breadcrumbs %] > [% WRAPPER breadcrumb_item %] >- <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> >+ [% IF CAN_user_parameters %] >+ <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> >+ [% ELSE %] >+ <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> >+ [% END %] > [% END %] > > [% IF acct_form || delete_confirm %] >-- >2.39.3 (Apple Git-146)
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 38298
: 173714