Bugzilla – Attachment 2137 Details for
Bug 4517
serials routing list member reordering can be done without staff authentication
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Oroposed patch
0001-Bug-4517-add-authentication-to-reorder_members.pl.patch (text/plain), 1.03 KB, created by
Chris Cormack
on 2010-05-19 09:27:00 UTC
(
hide
)
Description:
Oroposed patch
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2010-05-19 09:27:00 UTC
Size:
1.03 KB
patch
obsolete
>From 08bb49116e2911eb4fce467f4fbb3f6bda59e93a Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >Date: Wed, 19 May 2010 10:19:56 +0100 >Subject: [PATCH] Bug 4517 - add authentication to reorder_members.pl >Content-Type: text/plain; charset="utf-8" > >--- > serials/reorder_members.pl | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > >diff --git a/serials/reorder_members.pl b/serials/reorder_members.pl >index 66d4ab2..28175fb 100755 >--- a/serials/reorder_members.pl >+++ b/serials/reorder_members.pl >@@ -21,12 +21,17 @@ > 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'); > >+my ( $user, $cookie, $sesion_id, $flags ) = >+ checkauth( $query, 0, { serials => 1 }, 'intranet' ); >+ > reorder_members( $subscriptionid, $routingid, $rank ); > > print $query->redirect( >-- >1.6.6.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 4517
: 2137