Bugzilla – Attachment 3377 Details for
Bug 5916
Don't show the link to edit authorities to people who don't have permissions to edit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-Bug-5916-MT-2685-don-t-show-authority-edition-menu.patch (text/plain), 1.31 KB, created by
Chris Cormack
on 2011-03-21 03:39:09 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2011-03-21 03:39:09 UTC
Size:
1.31 KB
patch
obsolete
>From 6d777c478f4b59fdc3f4d265353d0ee0e480b228 Mon Sep 17 00:00:00 2001 >From: Nahuel ANGELINETTI <nahuel.angelinetti@biblibre.com> >Date: Thu, 18 Feb 2010 11:19:52 +0100 >Subject: [PATCH] Bug 5916 : (MT #2685) don't show authority edition menu > >this patch add a check of rights to show the authority edition menu, if the user have no rights of authority edition, we hide the menu. >--- > .../prog/en/includes/authorities-toolbar.inc | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc >index 425519e..3e0c527 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc >@@ -18,7 +18,7 @@ > <!-- TMPL_LOOP name="authtypesloop" -->{ text: "<!-- TMPL_VAR name="authtypetext" -->", url: "/cgi-bin/koha/authorities/authorities.pl?authtypecode=<!-- TMPL_VAR name="value" -->"}, > <!-- /TMPL_LOOP --> > ] >- >+ <!-- TMPL_IF NAME="CAN_user_editauthorities" --> > new YAHOO.widget.Button({ > type: "menu", > label: _("New Authority"), >@@ -36,6 +36,7 @@ > container: "delAuthc", > onclick: {fn: confirm_deletion } > }); >+ <!-- /TMPL_IF --> > } > > //]]> >-- >1.7.1 >
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 5916
:
3377
|
3396
|
5311
|
5337
|
5338