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 Cormack <chrisc@catalyst.net.nz>
Tue, 14 Dec 2010 00:10:57 +0000 (13:10 +1300)
commitbd7cca935b9c77ad0514038cfee6c84d02bd8e7d
treeeb47535bff24788024c98790a6d6379571008c24
parent96330a7b07dc78e627d44c5347fd07e42415ca36
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>
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