updated release notes for 3.14.0 beta
[koha.git] / serials / reorder_members.pl
index 66d4ab2..8b64fc7 100755 (executable)
 use strict;
 use warnings;
 use CGI;
+use C4::Auth qw( checkauth );
+use C4::Serials qw( reorder_members );
 
 my $query          = CGI->new;
 my $subscriptionid = $query->param('subscriptionid');
 my $routingid      = $query->param('routingid');
 my $rank           = $query->param('rank');
 
+checkauth( $query, 0, { serials => 1 }, 'intranet' );
+
 reorder_members( $subscriptionid, $routingid, $rank );
 
 print $query->redirect(