This commit is contained in:
Yuri Kuznetsov
2025-07-28 21:03:59 +03:00
parent b1af278364
commit f1e3f07ee8
@@ -159,7 +159,7 @@ class BeforeSaveValidate implements SaveHook
}
$mapKey = $isPortal ? 'aclPortalActionLevelListMap' : 'aclActionLevelListMap';
$key = $isPortal ? 'aclPortalLevelList' : 'aclActionList';
$key = $isPortal ? 'aclPortalLevelList' : 'aclLevelList';
$defaultLevels = $isPortal ? $this->portalLevelList : $this->levelList;
$levels = $this->metadata->get("scopes.$scope.$mapKey.$action") ??