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)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 4 Mar 2015 00:08:06 +0000 (19:08 -0500)
commitefa2937b076d0c090f3ff9e3a4fbb2a2cd4e180b
treef7af75f286a238fbb676b1f265e7778f1f1e679b
parent53558a654a50d5122e0b232a46c7a9c5fd45efe5
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