[Koha-patches] [PATCH] Bug 2622 & 2623 : tools permissions for edit notice triggers and picture upload overly restrictive

Ryan Higgins rch at liblime.com
Thu Oct 9 23:15:56 CEST 2008


removing requirements for parameters &  management respectively for these two tools.
---
 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 03fee7b..8378496 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 e63747a..d5b36b1 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,
 					});
 
-- 
1.5.5.GIT




More information about the Koha-patches mailing list