Browse Source

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 <galen.charlton@liblime.com>
3.2.x
Ryan Higgins 16 years ago
committed by Galen Charlton
parent
commit
5b1f566497
  1. 2
      catalogue/showmarc.pl

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

Loading…
Cancel
Save