Bugzilla – Attachment 140601 Details for
Bug 30732
Librarians with only "place_holds" permission can not suspend and resume holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30732: Librarians with only "place_holds" permission can not suspend and resume holds
Bug-30732-Librarians-with-only-placeholds-permissi.patch (text/plain), 1.35 KB, created by
David Nind
on 2022-09-13 18:31:48 UTC
(
hide
)
Description:
Bug 30732: Librarians with only "place_holds" permission can not suspend and resume holds
Filename:
MIME Type:
Creator:
David Nind
Created:
2022-09-13 18:31:48 UTC
Size:
1.35 KB
patch
obsolete
>From 957a4763b007b04e6705400922f8de3d421eba0c Mon Sep 17 00:00:00 2001 >From: Kyle Hall <kyle@bywatersolutions.com> >Date: Wed, 11 May 2022 09:53:18 -0400 >Subject: [PATCH] Bug 30732: Librarians with only "place_holds" permission can > not suspend and resume holds > >If a librarian only has the place_holds permission, they can see the buttons for placing and suspending holds on moremember.pl and circulation.pl, but cannot use them. > >Test Plan: >1) Give your librian only the place_holds permission >2) Attempt to "suspend all" and "resume all" holds on moremember.pl and > circulation.pl >3) Note you cannot >4) Apply this patch >5) Restart all the things! >6) Test again, note you can now suspend and resume holds! > >Signed-off-by: David Nind <david@davidnind.com> >--- > reserve/modrequest_suspendall.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/reserve/modrequest_suspendall.pl b/reserve/modrequest_suspendall.pl >index 0a802782b5..face038af3 100755 >--- a/reserve/modrequest_suspendall.pl >+++ b/reserve/modrequest_suspendall.pl >@@ -34,7 +34,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( > template_name => "about.tt", > query => $query, > type => "intranet", >- flagsrequired => { reserveforothers => 1 }, >+ flagsrequired => { reserveforothers => '*' }, > } > ); > >-- >2.30.2
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 30732
:
134895
|
140562
| 140601