]> git.koha-community.org Git - koha.git/commit
Bug 14449: Add authentication check on retrieving item info when receiving
authorJonathan Druart <jonathan.druart@koha-community.org>
Wed, 24 Jun 2015 09:24:14 +0000 (11:24 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 21 Jul 2015 03:56:22 +0000 (15:56 +1200)
commit73759312d2a58056e2cc4fd336a1204f3e661a02
tree23ee0f638bc14b924e758eef32ef13cd9545a4e6
parentfb6b754a335b5f99721f8808095a3fe145964e96
Bug 14449: Add authentication check on retrieving item info when receiving

The script catalogue/getitem-ajax.pl is called by acqui/orderreceive.pl
when item is receipt.
There is not auth check done, this means anybody can retrieve item info.

Test plan:
With the acquisition => order_receive permission, try to receive an
item.
It should work.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Very easy to test.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
(cherry picked from commit ea263a2284f1b81da5718a0cfbc581909c86cf4a)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
catalogue/getitem-ajax.pl