View | Details | Raw Unified | Return to bug 13663
Collapse All | Expand All

(-)a/tools/upload-file.pl (-2 / +1 lines)
Lines 39-45 use C4::UploadedFile; Link Here
39
# have been created.
39
# have been created.
40
40
41
my %cookies = fetch CGI::Cookie;
41
my %cookies = fetch CGI::Cookie;
42
my ($auth_status, $sessionID) = check_cookie_auth($cookies{'CGISESSID'}->value, { tools => '*' });
42
my ($auth_status, $sessionID) = check_cookie_auth($cookies{'CGISESSID'}->value, { circulate => "circulate_remaining_permissions" });
43
if ($auth_status ne "ok") {
43
if ($auth_status ne "ok") {
44
    $auth_status = 'denied' if $auth_status eq 'failed';
44
    $auth_status = 'denied' if $auth_status eq 'failed';
45
    send_reply($auth_status, "");
45
    send_reply($auth_status, "");
46
- 

Return to bug 13663