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)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 6 Feb 2014 19:50:54 +0000 (14:50 -0500)
commitc757c2c9c1fe38c8e72f9fdb4f0104c2856f9fde
treea7980df680e707228810304d9ebf12425ee01ee3
parentc87b6dc048645827904c40c730e9709963414029
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