LP#1479107 Move VOID_BILLING perm check to top-level API
authorDan Wells <dbw2@calvin.edu>
Tue, 18 Aug 2015 14:42:27 +0000 (10:42 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 19 Aug 2015 18:32:52 +0000 (14:32 -0400)
commita7526df453204fc3031390e3048c50bb3805abff
tree1e6732cf03a1f741110dab5b0e762e4f4c31054e
parent79b3a3fbfaccc53ccf74333cfd9d0d96fd8bfcf4
LP#1479107 Move VOID_BILLING perm check to top-level API

Pemission checks are needed at entry points, but can lead to
undesirable consequences if checked during automated processing.  In
the case of voids, let's move the perm check up to make sure our
automated processing can complete.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircCommon.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm