Bugzilla – Attachment 75242 Details for
Bug 20707
Permissions for circ/ysearch.pl override specific page level permissions and delete sessions improperly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20707: Replace circ/search.pl circulate permission requirement with catalogue
Bug-20707-Replace-circsearchpl-circulate-permissio.patch (text/plain), 1.63 KB, created by
Katrin Fischer
on 2018-05-10 19:02:21 UTC
(
hide
)
Description:
Bug 20707: Replace circ/search.pl circulate permission requirement with catalogue
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-05-10 19:02:21 UTC
Size:
1.63 KB
patch
obsolete
>From 13aa1ecf4c528393bdf32d11839a74f0e7443507 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 4 May 2018 13:54:49 +0000 >Subject: [PATCH] Bug 20707: Replace circ/search.pl circulate permission > requirement with catalogue > >To test: > 1 - Setup a staff patron with permissions: > - catalogue > - reserveforothers > - course_reserves > 2 - Log in to staff client as that patron > 3 - Find a record and click to place a hold > 4 - Type more than three letters into the search bar but don't submit > 5 - Note that you will not receive autocomplete results > 6 - Either submit, or try to visit any page in staff client > 7 - Your session has been expired, you must log in again > 8 - Log in, go to course reserves > 9 - As before, trigger the autocomplete search in the instrcutor field >10 - Again your session has been terminated >11 - Apply patch >12 - Repeat above actions, this time you will not be kicked out > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > circ/ysearch.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/ysearch.pl b/circ/ysearch.pl >index 7a75c80..b9e75d0 100755 >--- a/circ/ysearch.pl >+++ b/circ/ysearch.pl >@@ -39,7 +39,7 @@ my $query = $input->param('term'); > binmode STDOUT, ":encoding(UTF-8)"; > print $input->header( -type => 'text/plain', -charset => 'UTF-8' ); > >-my ( $auth_status, $sessionID ) = check_cookie_auth( $input->cookie('CGISESSID'), { circulate => '*' } ); >+my ( $auth_status, $sessionID ) = check_cookie_auth( $input->cookie('CGISESSID'), { catalogue => '1' } ); > if ( $auth_status ne "ok" ) { > exit 0; > } >-- >2.1.4
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 20707
:
75078
|
75220
| 75242