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:48 +0000 (21:54 +1300)
commite7b4a2a128ee2fd0a3a86be7360c939f509afa29
treec1531663d6ebd02e7e8e4ffaf85504cf586861e7
parent9e300f6a805d5ed824b722085abee5188331cb17
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