Bug 8860 - can't merge if you don't have fast cataloging permissions
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 2 Oct 2012 13:25:16 +0000 (09:25 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 5 Oct 2012 14:51:32 +0000 (16:51 +0200)
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
cataloguing/merge_ajax.pl

index 6bad3e9..26f0800 100755 (executable)
@@ -16,7 +16,7 @@ use CGI::Cookie; # need to check cookies before
                  # having CGI parse the POST request
 
 my %cookies = fetch CGI::Cookie;
-my ($auth_status, $sessionID) = check_cookie_auth($cookies{'CGISESSID'}->value, { editcatalogue => '1' });
+my ($auth_status, $sessionID) = check_cookie_auth($cookies{'CGISESSID'}->value, { editcatalogue => 'edit_catalogue' });
 if ($auth_status ne "ok") {
     my $reply = CGI->new("");
     print $reply->header(-type => 'text/html');