From 5b1f56649715189fe36c25d633a0640722af458f Mon Sep 17 00:00:00 2001 From: Ryan Higgins Date: Thu, 11 Sep 2008 14:31:05 -0500 Subject: [PATCH] Remove acquisitions permission requirement on catalogue/showmarc.pl This script is linked to from z39.50 search as well as acquisitions. cataloguing/z3950_search.pl requires only the 'catalogue' flag, so requiring only that permission here. A user without acquisitions permissions would get a login instead of the record display without this change. Signed-off-by: Galen Charlton --- catalogue/showmarc.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalogue/showmarc.pl b/catalogue/showmarc.pl index cf1ee3c181..17c09517cd 100755 --- a/catalogue/showmarc.pl +++ b/catalogue/showmarc.pl @@ -52,7 +52,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", authnotrequired => 0, - flagsrequired => { acquisition => 1 }, + flagsrequired => { catalogue => 1 }, debug => 1, } ); -- 2.11.0