]> git.koha-community.org Git - koha.git/commit
Bug 9663 - Individual bibliographic record "Save" option requires export permission
authorOwen Leonard <oleonard@myacpl.org>
Tue, 19 Feb 2013 17:10:40 +0000 (12:10 -0500)
committerChris Cormack <chris@bigballofwax.co.nz>
Mon, 11 Mar 2013 08:54:28 +0000 (21:54 +1300)
commit86d907c3a873512cc77278464ba9d92d12b807ce
tree6c8d957efb62c82c495affa554d4af2993b5eb03
parentd0a36cec6c4c1413d216ac7eeb7ebb93038a86a5
Bug 9663 - Individual bibliographic record "Save" option requires export permission

This patch corrects permission on the export option available on
catalogue pages in the staff client (detail.pl, MARCdetail.pl, etc) so
that users no longer require "export_catalogue" permission.
"export_catalogue" permission is required only for tools/export.pl.

This patch also corrects some crazy nearby indentation. Sorry, couldn't
resist.

To test, visit a page like detail.pl with and without "export_catalogue"
permission. It should be possible to save the record as MODS, MARCXML,
MARC, etc. without error.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
catalogue/export.pl