From 04c4be5b487a85a3a3c5bc767bd5c1a148429539 Mon Sep 17 00:00:00 2001 From: Ryan Higgins Date: Thu, 9 Oct 2008 16:15:56 -0500 Subject: [PATCH] Bug 2622 & 2623 : tools permissions for edit notice triggers and picture upload overly restrictive removing requirements for parameters & management respectively for these two tools. Signed-off-by: Galen Charlton --- tools/overduerules.pl | 2 +- tools/picture-upload.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/overduerules.pl b/tools/overduerules.pl index 03fee7b579..8378496c27 100755 --- a/tools/overduerules.pl +++ b/tools/overduerules.pl @@ -42,7 +42,7 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", authnotrequired => 0, - flagsrequired => {parameters => 1, tools => 'edit_notice_status_triggers'}, + flagsrequired => { tools => 'edit_notice_status_triggers'}, debug => 1, }); my $err=0; diff --git a/tools/picture-upload.pl b/tools/picture-upload.pl index e63747ae50..d5b36b16a0 100755 --- a/tools/picture-upload.pl +++ b/tools/picture-upload.pl @@ -36,7 +36,7 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", authnotrequired => 0, - flagsrequired => {management => 1, tools => 'batch_upload_patron_images'}, + flagsrequired => { tools => 'batch_upload_patron_images'}, debug => 0, }); -- 2.11.0