Fix portal note

This commit is contained in:
Yurii
2026-05-16 11:43:32 +03:00
parent 71ad766121
commit ee039bd22d

View File

@@ -100,6 +100,10 @@ class AccessChecker implements AccessEntityCREDChecker
$parentId = $entity->getParentId();
$parentType = $entity->getParentType();
if ($entity->isInternal()) {
return false;
}
if ($parentId && $parentType) {
$parent = $this->entityManager->getEntityById($parentType, $parentId);