]> git.evergreen-ils.org Git - working/Evergreen.git/commit
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)
committerBen Shum <bshum@biblio.org>
Tue, 3 Mar 2015 23:00:14 +0000 (18:00 -0500)
commit3a0f1cc7b2efa517ee4cd4c6a682237554fed307
tree5dc3af11290aee2846d01ee00322a699035755ef
parentac588e879cf73ff1b65617e0bd273361d3529063
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