Bugzilla – Attachment 3152 Details for
Bug 4853
Rights needed to renew a document
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Fix-for-Bug-4853-Rights-needed-to-renew-a-document.patch (text/plain), 1.54 KB, created by
Owen Leonard
on 2011-02-14 20:27:21 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-02-14 20:27:21 UTC
Size:
1.54 KB
patch
obsolete
>From f0722309a975fe7fea6febf2ef591b272aaf6a4f Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 14 Feb 2011 15:23:07 -0500 >Subject: [PATCH] Fix for Bug 4853 - Rights needed to renew a document >Content-Type: text/plain; charset="utf-8" > >Correcting check for circulation permission. Also updating >updateitem.pl (for setting lost and damaged statuses) with >circulate permissions. >--- > catalogue/updateitem.pl | 2 +- > reserve/renewscript.pl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/catalogue/updateitem.pl b/catalogue/updateitem.pl >index 01a1605..e8ce20d 100755 >--- a/catalogue/updateitem.pl >+++ b/catalogue/updateitem.pl >@@ -31,7 +31,7 @@ use C4::Reserves; > > my $cgi= new CGI; > >-my ($loggedinuser, $cookie, $sessionID) = checkauth($cgi, 0, {circulate => 1}, 'intranet'); >+my ($loggedinuser, $cookie, $sessionID) = checkauth($cgi, 0, {circulate => 'circulate_remaining_permissions'}, 'intranet'); > > my $biblionumber=$cgi->param('biblionumber'); > my $itemnumber=$cgi->param('itemnumber'); >diff --git a/reserve/renewscript.pl b/reserve/renewscript.pl >index ad746c9..f4c7fb4 100755 >--- a/reserve/renewscript.pl >+++ b/reserve/renewscript.pl >@@ -39,7 +39,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( > query => $input, > type => "intranet", > authnotrequired => 0, >- flagsrequired => { circulate => 1 }, >+ flagsrequired => { circulate => 'circulate_remaining_permissions' }, > debug => 0, > } > ); >-- >1.7.3 >
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 4853
: 3152