From 3bd714cc157b2f2e48970ae899ace42e202c1b14 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 8 Feb 2012 10:45:53 -0500 Subject: [PATCH] Bug 7018 - need all acq permissions to search Single line fix. Changes permissions required for histsearch.pl from requiring * for acquisitions to only requiring group_manage, order_manage, and order_receive Signed-off-by: Nicole C. Engard Signed-off-by: Paul Poulain (cherry picked from commit 0d037efd358c5516466c5df99e565d5fd98d5a74) Signed-off-by: Chris Nighswonger (cherry picked from commit f548db4874bd2bae8a705fb0d551131540026c55) Signed-off-by: Chris Nighswonger --- acqui/histsearch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acqui/histsearch.pl b/acqui/histsearch.pl index 0190e4a688..ebb902eefd 100755 --- a/acqui/histsearch.pl +++ b/acqui/histsearch.pl @@ -70,7 +70,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", authnotrequired => 0, - flagsrequired => { acquisition => 1 }, + flagsrequired => { acquisition => 'group_manage', acquisition => 'order_manage', acquisition => 'order_receive' }, debug => 1, } ); -- 2.39.5