From: Marc VĂ©ron Date: Thu, 21 Jan 2016 15:25:33 +0000 (+0100) Subject: Bug 15579: Fix permission for batch record modification X-Git-Tag: v16.05.00-beta~1304 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=e4715453e321c04da66c85143e7c8737947eaa75;p=srvgit 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 --- diff --git a/tools/batch_record_modification.pl b/tools/batch_record_modification.pl index 2f33fbbd95..50a2b50103 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' }, });