From 104c427bd114ee081495a58553f2bab4560c61bf Mon Sep 17 00:00:00 2001 From: Kyle Hall 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! --- 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