[Koha-patches] [PATCH] BG5725 follow-up : permission is wrong

paul.poulain at biblibre.com paul.poulain at biblibre.com
Mon Feb 21 17:20:40 CET 2011


From: Paul Poulain <paul.poulain at biblibre.com>

The permission should not be "batchedit" but { tools=> "batchedit" } as it's a sub-permission
---
 tools/batchedit.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/batchedit.pl b/tools/batchedit.pl
index f363a3a..d768fb9 100755
--- a/tools/batchedit.pl
+++ b/tools/batchedit.pl
@@ -61,7 +61,7 @@ if($input->param('field') and not defined $op){
                  query => $input,
                  type => "intranet",
                  authnotrequired => 0,
-                 flagsrequired => "batchedit",
+                 flagsrequired => { tools => "batchedit" },
         });
     
     
-- 
1.7.1



More information about the Koha-patches mailing list