From: Chris Cormack Date: Tue, 2 Apr 2013 06:48:34 +0000 (+1300) Subject: Bug 8278 : Follow up, fixing the permissions on cataloguing/ysearch.pl X-Git-Tag: v3.14.00-alpha1~803^2~2 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=588cc04571bd4eab1878c4abcac883ebe3ad060e;p=koha_fer Bug 8278 : Follow up, fixing the permissions on cataloguing/ysearch.pl Signed-off-by: Bernardo Gonzalez Kriegel Comment: Works. No errors. Without patch and normal staff user, logged out With patch, normal staff, valid output. Signed-off-by: Katrin Fischer Signed-off-by: Jared Camins-Esakov --- diff --git a/cataloguing/ysearch.pl b/cataloguing/ysearch.pl index 825501608b..9c69939171 100755 --- a/cataloguing/ysearch.pl +++ b/cataloguing/ysearch.pl @@ -41,7 +41,7 @@ die() unless ($table eq "biblioitems"); binmode STDOUT, ":encoding(UTF-8)"; print $input->header( -type => 'text/plain', -charset => 'UTF-8' ); -my ( $auth_status, $sessionID ) = check_cookie_auth( $input->cookie('CGISESSID'), { cataloguing => '*' } ); +my ( $auth_status, $sessionID ) = check_cookie_auth( $input->cookie('CGISESSID'), { editcatalogue => '*' } ); if ( $auth_status ne "ok" ) { exit 0; }