From c75fc7239d9ab8b8499d1636ee1a5ba0f9ad014b Mon Sep 17 00:00:00 2001
From: Kyle M Hall <kyle@bywatersolutions.com>
Date: Wed, 8 Feb 2012 10:45:53 -0500
Subject: [PATCH] [SIGNED-OFF] 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 <nengard@bywatersolutions.com>
---
 acqui/histsearch.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/acqui/histsearch.pl b/acqui/histsearch.pl
index ff68599..cd3e444 100755
--- a/acqui/histsearch.pl
+++ b/acqui/histsearch.pl
@@ -77,7 +77,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,
     }
 );
-- 
1.7.2.3