From a8b154f409edb2f0e77c09857aebf66de60f2b7f 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] Bug 7018 - need all acq permissions to search

Single line fix. Changes permissions required for histsearch.pl
from requiring * for acquisitions to only requiring
budget_add_del, budget_manage, and budget_modify
---
 acqui/histsearch.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/acqui/histsearch.pl b/acqui/histsearch.pl
index ff68599..bb23145 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 => 'budget_add_del', acquisition => 'budget_manage', acquisition => 'budget_modify' },
         debug           => 1,
     }
 );
-- 
1.7.2.5