]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1254918 limit ACQ batch update fund retrieval by perms
authorBill Erickson <berick@esilibrary.com>
Fri, 9 May 2014 18:32:14 +0000 (14:32 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 6 Oct 2014 20:39:22 +0000 (13:39 -0700)
commit4e74b7e763e93b5f54e9fb71f899a77fcd3a2384
treed5aaa364df7221e978e641f63d620eda6c8cf602
parent200ece2d520ae007f6d7352f1e61021df0f146c2
LP#1254918 limit ACQ batch update fund retrieval by perms

In the ACQ batch update bar along the top of the PO page, limit the
number of funds which require permission checks on the server by
limiting the fund search to those at org units where the requesting user
has the CREATE_PURCHSE_ORDER or MANAGE_FUND permissions.

In other words, if a user only has create-po perms at Branch 1, we can
specifically request funds at that branch (or below) for display so that
the server (PCRUD) does not have to inspect unrelated funds for
permissibility.  This speeds up fund retrieval.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/web/js/ui/default/acq/common/li_table.js