Bug 11666: add permission check for MARC framework import/export
authorGalen Charlton <gmc@esilibrary.com>
Tue, 4 Feb 2014 15:54:33 +0000 (15:54 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 5 Feb 2014 19:47:53 +0000 (19:47 +0000)
commit03d4ed2468bb9ab97b1f7b7d9e29507dc815a8b3
tree405029797fc4a0fbe28612b5b03bdbc761a7aac8
parent939079de756fdda1ca8f62c48efe0e2e3034ae32
Bug 11666: add permission check for MARC framework import/export

This patch makes the MARC framework import/export script require
that the staff user be logged in with appropriate permissions for
managing the MARC frameworks.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
I can confirm the bug and the solution. After applying the patch
downloading the file without logging in first is no longer possible.
Also passes tests and QA script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
admin/import_export_framework.pl