mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-27 22:46:04 +00:00
Fix portal note
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user