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 Scott <dscott@laurentian.ca>
Thu, 5 Mar 2015 17:43:17 +0000 (12:43 -0500)
commitfecd131bb77fd6612efc969028fd886ed0961b42
treed500f8a911960b3b73fd39b4355442d8df9bfd85
parent1be48900f30d09a586eb4a3b9b7dd74a1e1c8f00
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