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)
committerGalen Charlton <gmc@equinoxOLI.org>
Thu, 16 Feb 2023 15:16:29 +0000 (10:16 -0500)
commitfd9abd69c6f6e100503c73746dccc2f80b99a2cc
tree82a2aa7eed5a83219ecd999b022d02c951b54802
parent84cfa2b77a1be8fe7f113f4a68a5276499d4fed8
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>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm