From f0e68b75ce68925333fac13bfe3fb6df7121d7b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Thu, 21 Jan 2016 16:25:33 +0100 Subject: [PATCH] Bug 15579: Fix permission for batch record modification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To test: - For a patron, permissions 'catalogue' and 'records_batchmod' only - Log in as this patron - Go to /cgi-bin/koha/tools/batch_record_modification.pl Without patch: You have no permisson to acces the page. With patch: Page 'Batch record modification' displays as expected. (Amended to fix wrong test plan) Signed-off-by: Jonathan Druart Signed-off-by: Marcel de Rooy Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com (cherry picked from commit e4715453e321c04da66c85143e7c8737947eaa75) Signed-off-by: Julian Maurice (cherry picked from commit d1e8575926579c5e08f7ec81f1cd648b90a8eebb) Signed-off-by: Frédéric Demians --- tools/batch_record_modification.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/batch_record_modification.pl b/tools/batch_record_modification.pl index 433d7b9e4a..02a85d4fc1 100755 --- a/tools/batch_record_modification.pl +++ b/tools/batch_record_modification.pl @@ -44,7 +44,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ query => $input, type => "intranet", authnotrequired => 0, - flagsrequired => { tools => 'biblio_batchmod' }, + flagsrequired => { tools => 'records_batchmod' }, });