Bug 14528: Inconsistency in permissions check when listing shelves
The svc script needed borrowers when the shelves.pl needed catalogue. There is no sense to have different permissions here. Test plan: 1/ Remove the borrowers permission to a user 2/ Use this user to log in 3/ Go on the shelf list 4/ Without this patch, you should get an endless "Processing..." which is fixed if you apply it. Signed-off-by: Nick Clemens <nick@quecheelibrary.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
b36cec6cba
commit
122d41816b
|
|
@ -17,7 +17,7 @@ my ($template, $user, $cookie) = get_template_and_user({
|
|||
query => $input,
|
||||
type => "intranet",
|
||||
authnotrequired => 0,
|
||||
flagsrequired => { borrowers => 1 }
|
||||
flagsrequired => { catalogue => 1 }
|
||||
});
|
||||
|
||||
my $shelfname = $input->param('shelfname');
|
||||
|
|
|
|||
Loading…
Reference in New Issue