From 3ea79a323029329e80f0c93075a7b0f7172c915a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 9 Jul 2014 09:49:19 +0200 Subject: [PATCH] Bug 11226: subscription frequencies and numbering patterns should be editable with serials permissions Bug 7688 does now allow patrons with serials permissions to edit subscription frequencies/numbering patterns. Test plan: Try to access to serials/subscription-frequencies.pl and serials/subscription-numberpatterns.pl with the "serials" permissions. Signed-off-by: Bernardo Gonzalez Kriegel With patch and only serial permissions can now access frequences and patterns. No koha-qa errors Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi Signed-off-by: Galen Charlton (cherry picked from commit dac26290b0feb08277a7d4bb7929559dfe7b36c4) --- serials/subscription-frequencies.pl | 2 +- serials/subscription-numberpatterns.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/serials/subscription-frequencies.pl b/serials/subscription-frequencies.pl index 4036088287..a44a9bb9f5 100755 --- a/serials/subscription-frequencies.pl +++ b/serials/subscription-frequencies.pl @@ -42,7 +42,7 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { query => $input, type => 'intranet', authnotrequired => 0, - flagsrequired => { 'parameters' => 1 }, + flagsrequired => { 'serials' => 1 }, debug => 1, } ); diff --git a/serials/subscription-numberpatterns.pl b/serials/subscription-numberpatterns.pl index c2a9800dc4..e367d41578 100755 --- a/serials/subscription-numberpatterns.pl +++ b/serials/subscription-numberpatterns.pl @@ -41,7 +41,7 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { query => $input, type => 'intranet', authnotrequired => 0, - flagsrequired => { 'parameters' => 1 } + flagsrequired => { 'serials' => 1 } } ); my $op = $input->param('op'); -- 2.39.5