]> git.koha-community.org Git - koha.git/commit
Bug 643: QA Followup - server-side verification of permissions
authorMark Tompsett <mtompset@hotmail.com>
Tue, 23 Sep 2014 14:12:12 +0000 (10:12 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 31 Oct 2014 18:15:49 +0000 (15:15 -0300)
commit85489f7bdfe588301d87cc6d5313fe1be3b4e337
treea133b958a3798ca0fd9b5edb363bbc8383c17661
parentbc9d12e68ffa846f7a7a8dba5c98752398c2c257
Bug 643: QA Followup - server-side verification of permissions

Only allow $force_allow=1 if the logged in user has permissions.

TEST PLAN
---------
Attempt to intentionally override the checkout by passing an
appropriately handcrafted URL.
-- Regardless of the force_allow value, it should be not allowed
   for those lacking the force_checkout permission.

NOTE: I didn't test this. I figured Marc Veron could do that. :)
      (Sorry, couldn't easily get git bz to work with the accent)

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
circ/circulation.pl