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 <nengard@bywatersolutions.com>

Tested with only one acquisitions permission (various choices) and
patron can access the ordered and spent pages.
This commit is contained in:
Katrin Fischer 2012-02-26 07:11:59 +01:00 committed by Paul Poulain
parent 6b855be5f7
commit 6ce3169ebf
2 changed files with 2 additions and 2 deletions

View file

@ -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,
}
);

View file

@ -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,
}
);