From 10689f2a9b9c4108c5b3998618afbdc3a8380a0d 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 --- 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 71e5d4bdee..934b545271 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