Bug 29541: Restrict access to patron's image to borrowers => * and circulate => *
The patron images is displayed on the 'circulation' and 'members' modules. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
b8088051e9
commit
7f50439cb2
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ This script, when called from within HTML and passed a valid patron borrowernumb
|
|||
|
||||
=cut
|
||||
|
||||
my ($status, $cookie, $sessionID) = check_api_auth($query, { catalogue => 1 } );
|
||||
my ($status, $cookie, $sessionID) = check_api_auth($query, [ { borrowers => '*' }, { circulate => '*' } ] );
|
||||
|
||||
unless ( $status eq 'ok' ) {
|
||||
print $query->header(-type => 'text/plain', -status => '403 Forbidden');
|
||||
|
|
Loading…
Reference in a new issue