LP#1424755: Org Unit Setting view permissions can be bypassed
authorJason Stephenson <jstephenson@mvlc.org>
Wed, 18 Feb 2015 21:28:31 +0000 (16:28 -0500)
committerDan Wells <dbw2@calvin.edu>
Tue, 3 Mar 2015 22:56:01 +0000 (17:56 -0500)
commitc74ac7878b901fa89e904b105907b5bb2d10639c
tree8611ae22705409863bef8d5f3d82cdd8cd2b50fd
parente19eb6c864419474e97ef2a752a634ac991b0bbf
LP#1424755: Org Unit Setting view permissions can be bypassed

Fix private org. unit setting leakage by forcing the $auth argument
to true if not passed in when open-ils.actor.ou_setting.ancestor_default
or open-ils.actor.ou_setting.ancestor_default.batch are called.

Other than a change to the desc of the public methods to reflect that
they now check permissions if permissions are required, there are no
required api changes to the back or the front ends.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm