]> 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)
committerBen Shum <bshum@biblio.org>
Thu, 10 Jul 2014 19:59:28 +0000 (15:59 -0400)
commit2986646c02712197449e9c15474088f57b138753
tree1f25a064f1bbf99b70632318133a6cd72d9e9224
parentf9f4d186243f8cb8be0958e2e658771e3d821478
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: Ben Shum <bshum@biblio.org>
Open-ILS/web/js/ui/default/acq/common/li_table.js