]> git.koha-community.org Git - koha.git/commit
Updated fix for Bug 2170, Adding 'edititems' user-permission
authorOwen Leonard <oleonard@myacpl.org>
Mon, 13 Dec 2010 15:30:07 +0000 (15:30 +0000)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Wed, 15 Dec 2010 02:37:23 +0000 (21:37 -0500)
commit4da3829b0d4bf2eaeccc297ba921b84b2ae951de
tree34f7763f7effd5a58c8960e3aca6f91f1949c380
parent2e9910ce678b25626570f4bbd3bba29f40f7006f
Updated fix for Bug 2170, Adding 'edititems' user-permission

This patch follows up on the addition of the 'edititems'
permission by adding a check of the new permission to places
in the interface which link to the edit item screen.

The catalogue toolbar had to be extensively re-worked in
order to ensure that the "New" and "Edit" menus would appear
(or not) whether or not edit_catalogue, edit_items, or
create_subscription permissions are on.

Revised for current HEAD

Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit bd7cca935b9c77ad0514038cfee6c84d02bd8e7d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tmpl