diff --git a/application/Espo/Entities/ImportError.php b/application/Espo/Entities/ImportError.php index ac2a2e9ada..eed69d3c8b 100644 --- a/application/Espo/Entities/ImportError.php +++ b/application/Espo/Entities/ImportError.php @@ -39,7 +39,7 @@ class ImportError extends Entity public const ENTITY_TYPE = 'ImportError'; public const TYPE_VALIDATION = 'Validation'; - public const TYPE_ACCESS = 'Access'; + public const TYPE_NO_ACCESS = 'No-Access'; public const TYPE_NOT_FOUND = 'Not-Found'; public const TYPE_INTEGRITY_CONSTRAINT_VIOLATION = 'Integrity-Constraint-Violation'; diff --git a/application/Espo/Resources/metadata/entityDefs/ImportError.json b/application/Espo/Resources/metadata/entityDefs/ImportError.json index 7a3688f5f1..16fd915608 100644 --- a/application/Espo/Resources/metadata/entityDefs/ImportError.json +++ b/application/Espo/Resources/metadata/entityDefs/ImportError.json @@ -32,7 +32,7 @@ "options": [ "", "Validation", - "Access", + "No-Access", "Not-Found", "Integrity-Constraint-Violation" ], diff --git a/application/Espo/Tools/Import/Import.php b/application/Espo/Tools/Import/Import.php index 0697af5dad..dfa7ff2d48 100644 --- a/application/Espo/Tools/Import/Import.php +++ b/application/Espo/Tools/Import/Import.php @@ -502,7 +502,7 @@ class Import !$this->aclManager->checkEntityEdit($this->user, $entity) ) { $this->createError( - ImportError::TYPE_ACCESS, + ImportError::TYPE_NO_ACCESS, $index, $row, $import,