]> 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)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Fri, 1 Mar 2013 00:07:50 +0000 (19:07 -0500)
commitf3d99e6a131b5148d3ed2b135344e8fd31115896
tree0bc73d3975ddd7e5c39bbede23c29bb13d00b43b
parent9b8a5274732edd0bbcf3dd80b82c00b182a292da
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>
catalogue/export.pl