From b8953dc9cd07a588a26d1055eca90f7b42e2b151 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 26 Feb 2012 07:11:59 +0100 Subject: [PATCH] [SIGNED-OFF] Bug 7602: Spent and ordered pages require full acquisition permissions Changes permissions on these pages so that one acquisition permission will make it possible to access the pages. Currently pages are only accessible for users with full (all checkboxes checked) acquisition permissions. Signed-off-by: Nicole C. Engard Tested with only one acquisitions permission (various choices) and patron can access the ordered and spent pages. --- acqui/ordered.pl | 2 +- acqui/spent.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/acqui/ordered.pl b/acqui/ordered.pl index 92f44a0..ad6883a 100755 --- a/acqui/ordered.pl +++ b/acqui/ordered.pl @@ -46,7 +46,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", authnotrequired => 0, - flagsrequired => { acquisition => 1 }, + flagsrequired => { acquisition => '*' }, debug => 1, } ); diff --git a/acqui/spent.pl b/acqui/spent.pl index 12260c0..954fdf6 100755 --- a/acqui/spent.pl +++ b/acqui/spent.pl @@ -48,7 +48,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", authnotrequired => 0, - flagsrequired => { acquisition => 1 }, + flagsrequired => { acquisition => '*' }, debug => 1, } ); -- 1.7.2.3