diff --git a/src/Adapter/DbAcl.php b/src/Adapter/DbAcl.php index c1f6f18c..769bb6d4 100644 --- a/src/Adapter/DbAcl.php +++ b/src/Adapter/DbAcl.php @@ -19,6 +19,9 @@ use Cake\Controller\Component; use Cake\Core\App; use Cake\ORM\TableRegistry; +use Acl\Model\Table\PermissionsTable; +use Acl\Model\Table\ArosTable; +use Acl\Model\Table\AcosTable; /** * DbAcl implements an ACL control system in the database. ARO's and ACO's are @@ -40,6 +43,9 @@ */ class DbAcl implements AclInterface { + private PermissionsTable $Permission; + private ArosTable $Aro; + private AcosTable $Aco; /** * Constructor diff --git a/src/Model/Table/PermissionsTable.php b/src/Model/Table/PermissionsTable.php index 912e325d..238cffb1 100644 --- a/src/Model/Table/PermissionsTable.php +++ b/src/Model/Table/PermissionsTable.php @@ -20,6 +20,8 @@ use Cake\Core\Exception\Exception; use Cake\ORM\Table; use Cake\Utility\Hash; +use Acl\Model\Table\ArosTable; +use Acl\Model\Table\AcosTable; /** * Permissions linking AROs with ACOs @@ -27,6 +29,8 @@ */ class PermissionsTable extends AclNodesTable { + private ArosTable $Aro; + private AcosTable $Aco; /** * {@inheritDoc}