mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
internalAclManager fix
This commit is contained in:
@@ -246,7 +246,7 @@ class Container
|
||||
|
||||
protected function loadAclManager()
|
||||
{
|
||||
$className = $this->getServiceClassName('acl', '\\Espo\\Core\\AclManager');
|
||||
$className = $this->getServiceClassName('aclManager', '\\Espo\\Core\\AclManager');
|
||||
return new $className(
|
||||
$this->get('container')
|
||||
);
|
||||
@@ -254,10 +254,7 @@ class Container
|
||||
|
||||
protected function loadInternalAclManager()
|
||||
{
|
||||
$className = $this->getServiceClassName('acl', '\\Espo\\Core\\AclManager');
|
||||
return new $className(
|
||||
$this->get('container')
|
||||
);
|
||||
return $this->loadAclManager();
|
||||
}
|
||||
|
||||
protected function loadAcl()
|
||||
|
||||
@@ -70,6 +70,14 @@ class Container extends \Espo\Core\Container
|
||||
return $obj;
|
||||
}
|
||||
|
||||
protected function loadInternalAclManager()
|
||||
{
|
||||
$className = $this->getServiceMainClassName('aclManager', '\\Espo\\Core\\AclManager');
|
||||
return new $className(
|
||||
$this->get('container')
|
||||
);
|
||||
}
|
||||
|
||||
protected function loadAcl()
|
||||
{
|
||||
$className = $this->getServicePortalClassName('acl', '\\Espo\\Core\\Portal\\Acl');
|
||||
|
||||
Reference in New Issue
Block a user