From f5a9e7083acc6acf97df3cbf1ed5faced1e117c4 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 26 Feb 2012 07:11:59 +0100 Subject: [PATCH] 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. --- 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.5.4