EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Import foreign skip if no access to read
Yuriia782f4443aa5
diff --git a/application/Espo/Tools/Import/Import.php b/application/Espo/Tools/Import/Import.phpindex 070b4bcc22..2c568b3c3d 100644--- a/application/Espo/Tools/Import/Import.php+++ b/application/Espo/Tools/Import/Import.php@@ -1517,7 +1517,8 @@ class Importif ($attributeDefs?->getType() === AttributeType::FOREIGN &&- $entityDefs->tryGetField($attribute)?->getParam('relateOnImport')+ $entityDefs->tryGetField($attribute)?->getParam('relateOnImport') &&+ $this->aclManager->checkField($this->user, $entityType, $attribute)) {continue;}