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)
committerBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Thu, 6 Feb 2014 16:25:19 +0000 (13:25 -0300)
commitb2f0f7c8fa994bde68e88b7f72b053a8ab8d9ae5
treedf506944ebc168639044c7972f9ac3f9a941e224
parent28a30b6bd864f6f7440b81f8946aec9bae1bcabf
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>
(cherry picked from commit 03d4ed2468bb9ab97b1f7b7d9e29507dc815a8b3)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 412b761e27267b55e07d93ce3ec436cbddaf02d8)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked from commit 412b761e27267b55e07d93ce3ec436cbddaf02d8)
admin/import_export_framework.pl