]> git.evergreen-ils.org Git - evergreen/pines.git/commit
LP#2006749: Fix call to ou_ancestor_setting_perm_check in AppUtils.pm
authorJason Stephenson <jason@sigio.com>
Thu, 9 Feb 2023 16:22:58 +0000 (11:22 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 27 Mar 2023 15:26:11 +0000 (11:26 -0400)
commita113c8ceb75d6ffcf212cf110d09c1d2fe6d8fbe
tree86c402c858f6937a28bdcb23269b49f9aeb7c813
parent003ad406ee289c7199649e3c78d338ee8e81cbca
LP#2006749: Fix call to ou_ancestor_setting_perm_check in AppUtils.pm

The $self and $e arguments are missing when the ou_ancestor_setting
subroutine calls ou_ancestor_setting_perm_check in AppUtils.

The $coust argument also need to be $coust->view_perm->code for the
allowed check in ou_ancestor_setting_perm_check.

This commit corrects the call to ou_ancestor_setting_perm_check.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm