From 6ce3169ebf6edf2a0a081e5cf63ea57b0c9278a3 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. 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 92f44a0dac..ad6883a3ac 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 12260c044e..954fdf63c5 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, } ); -- 2.20.1