From c983c5225a0a6f16f6d490a426a3545f36c9b80d 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 Content-Type: text/plain; charset=utf-8 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 --- 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