From 1c6fb506485b6e6529aaa359c7f9be1d66ec347e Mon Sep 17 00:00:00 2001 From: Michael Hafen Date: Thu, 13 Nov 2008 16:11:35 -0700 Subject: [PATCH] Put patron Privilege 'updatecharges' to use on fines pages This changes the flags required for the fines pages to include the updatecharges flag. Signed-off-by: Galen Charlton --- members/boraccount.pl | 2 +- members/mancredit.pl | 2 +- members/maninvoice.pl | 2 +- members/pay.pl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/members/boraccount.pl b/members/boraccount.pl index 3860dc75d0..40dd68ae36 100755 --- a/members/boraccount.pl +++ b/members/boraccount.pl @@ -38,7 +38,7 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", authnotrequired => 0, - flagsrequired => {borrowers => 1}, + flagsrequired => {borrowers => 1, updatecharges => 1}, debug => 1, }); diff --git a/members/mancredit.pl b/members/mancredit.pl index eb25f26127..5a7ec1d88e 100755 --- a/members/mancredit.pl +++ b/members/mancredit.pl @@ -54,7 +54,7 @@ if ($add){ query => $input, type => "intranet", authnotrequired => 0, - flagsrequired => {borrowers => 1}, + flagsrequired => {borrowers => 1, updatecharges => 1}, debug => 1, }); diff --git a/members/maninvoice.pl b/members/maninvoice.pl index c9931bdd3c..4ad2067229 100755 --- a/members/maninvoice.pl +++ b/members/maninvoice.pl @@ -71,7 +71,7 @@ if ($add){ query => $input, type => "intranet", authnotrequired => 0, - flagsrequired => {borrowers => 1}, + flagsrequired => {borrowers => 1, updatecharges => 1}, debug => 1, }); diff --git a/members/pay.pl b/members/pay.pl index b782e454e8..06ae687dd3 100755 --- a/members/pay.pl +++ b/members/pay.pl @@ -45,7 +45,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", authnotrequired => 0, - flagsrequired => { borrowers => 1 }, + flagsrequired => { borrowers => 1, updatecharges => 1 }, debug => 1, } ); -- 2.39.5