From 18ce86ff5ae2bc4447e2b09712fab424047dea9a 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 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) --- 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 2f33fbb..50a2b50 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' }, }); -- 1.7.10.4