From cafc2183e2d0ea104f99348aaa8a4f604cde2ff1 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Fri, 28 Feb 2025 05:16:19 +0000 Subject: [PATCH] * [Acl] fix acl bug. --- module/stakeholder/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/stakeholder/model.php b/module/stakeholder/model.php index 562d74daf1..0a315f2537 100644 --- a/module/stakeholder/model.php +++ b/module/stakeholder/model.php @@ -307,7 +307,7 @@ class stakeholderModel extends model public function getParentStakeholderGroup(array $objectIdList): array { $parents = array(); - $objects = $this->loadModel('project')->getListByAcl('private', $objectIdList); + $objects = $this->loadModel('project')->getListByAcl('private,program', $objectIdList); foreach($objects as $object) { if($object->parent == 0) continue;