updated advanced pack to 3.12.0:

Reports:

    Non-aggregated columns in Grid report export.
    Normalized table mode for 2-dimensional Grid reports.
    Ability to create internal reports via the UI.
    Ability to show/hide and resize columns in the list report result view.
This commit is contained in:
2026-02-07 16:09:20 +01:00
parent 26db904407
commit f95246f99f
384 changed files with 6184 additions and 3643 deletions

View File

@@ -11,7 +11,7 @@
* usage to the software or any modified version or derivative work of the software
* created by or for you.
*
* Copyright (C) 2015-2025 EspoCRM, Inc.
* Copyright (C) 2015-2026 EspoCRM, Inc.
*
* License ID: 19bc86a68a7bb01f458cb391d43a9212
************************************************************************************/

View File

@@ -11,7 +11,7 @@
* usage to the software or any modified version or derivative work of the software
* created by or for you.
*
* Copyright (C) 2015-2025 EspoCRM, Inc.
* Copyright (C) 2015-2026 EspoCRM, Inc.
*
* License ID: 19bc86a68a7bb01f458cb391d43a9212
************************************************************************************/

View File

@@ -11,7 +11,7 @@
* usage to the software or any modified version or derivative work of the software
* created by or for you.
*
* Copyright (C) 2015-2025 EspoCRM, Inc.
* Copyright (C) 2015-2026 EspoCRM, Inc.
*
* License ID: 19bc86a68a7bb01f458cb391d43a9212
************************************************************************************/
@@ -33,16 +33,10 @@ use Espo\ORM\EntityManager;
*/
class BeforeCreate implements CreateHook
{
private Acl $acl;
private EntityManager $entityManager;
public function __construct(
Acl $acl,
EntityManager $entityManager
) {
$this->acl = $acl;
$this->entityManager = $entityManager;
}
private Acl $acl,
private EntityManager $entityManager,
) {}
public function process(Entity $entity, CreateParams $params): void
{
@@ -54,7 +48,17 @@ class BeforeCreate implements CreateHook
$entity->setApplyAcl();
}
if (!$this->acl->check($entity->getTargetEntityType(), Table::ACTION_READ)) {
if (
!$entity->getTargetEntityType() &&
!$entity->getInternalClassName()
) {
throw new Forbidden("No target entity type.");
}
if (
$entity->getTargetEntityType() &&
!$this->acl->checkScope($entity->getTargetEntityType(), Table::ACTION_READ)
) {
throw new Forbidden("No 'read' access to target entity type.");
}
}

View File

@@ -11,7 +11,7 @@
* usage to the software or any modified version or derivative work of the software
* created by or for you.
*
* Copyright (C) 2015-2025 EspoCRM, Inc.
* Copyright (C) 2015-2026 EspoCRM, Inc.
*
* License ID: 19bc86a68a7bb01f458cb391d43a9212
************************************************************************************/