Bugzilla – Attachment 114097 Details for
Bug 26905
Purchase suggestion button hidden for users with suggestion permission but not acq permission
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26905: Purchase suggestion button hidden for users with suggestion permission but not acq permission
Bug-26905-Purchase-suggestion-button-hidden-for-us.patch (text/plain), 1.65 KB, created by
Owen Leonard
on 2020-12-02 14:33:43 UTC
(
hide
)
Description:
Bug 26905: Purchase suggestion button hidden for users with suggestion permission but not acq permission
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-12-02 14:33:43 UTC
Size:
1.65 KB
patch
obsolete
>From 24df196b9e5cb87586aea93d1a8af8f57d443cc8 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 2 Dec 2020 14:21:27 +0000 >Subject: [PATCH] Bug 26905: Purchase suggestion button hidden for users with > suggestion permission but not acq permission > >This patch adds a link to purchase suggestions from the header menu's >"More" submenu for users with suggestions management permission. > >To test, apply the patch and log in to the staff interface as a user >with "suggestions_manage" permission. > >- Click the "More" menu item in the header. You should see a link to > "Suggestions" which takes you to the suggestions management page. > >- Log in as a user without "suggestions_manage" permission. The link > should not appear. >--- > koha-tmpl/intranet-tmpl/prog/en/includes/header.inc | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc >index 09f66e9bc6..1b453b874f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc >@@ -52,6 +52,9 @@ > [% IF ( CAN_user_reports ) %] > <li><a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a></li> > [% END %] >+ [% IF ( CAN_user_suggestions_suggestions_manage ) %] >+ <li><a href="/cgi-bin/koha/suggestion/suggestion.pl">Suggestions</a></li> >+ [% END %] > [% IF ( CAN_user_tools ) %] > <li><a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a></li> > [% END %] >-- >2.11.0
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 26905
:
114096
|
114097
|
114158
|
114239