This commit is contained in:
Yuri Kuznetsov
2022-08-30 08:48:15 +03:00
parent bfcf607468
commit 82b043adf6
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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';
@@ -32,7 +32,7 @@
"options": [
"",
"Validation",
"Access",
"No-Access",
"Not-Found",
"Integrity-Constraint-Violation"
],
+1 -1
View File
@@ -502,7 +502,7 @@ class Import
!$this->aclManager->checkEntityEdit($this->user, $entity)
) {
$this->createError(
ImportError::TYPE_ACCESS,
ImportError::TYPE_NO_ACCESS,
$index,
$row,
$import,