From d1e8575926579c5e08f7ec81f1cd648b90a8eebb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20V=C3=A9ron?= Date: Thu, 21 Jan 2016 16:25:33 +0100 Subject: [PATCH] Bug 15579: Fix permission for batch record modification 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 --- 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 f96ec5dcb8..1473193500 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' }, }); -- 2.39.5