mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
fix get user Acl
This commit is contained in:
@@ -44,7 +44,7 @@ class User extends \Espo\Core\Controllers\Record
|
||||
throw new NotFound();
|
||||
}
|
||||
|
||||
$acl = new \Espo\Core\Acl($user);
|
||||
$acl = new \Espo\Core\Acl($user, $this->getConfig(), $this->getContainer()->get('fileManager'), $this->getMetadata());
|
||||
|
||||
return $acl->toArray();
|
||||
}
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
"label": "Reply",
|
||||
"action": "reply",
|
||||
"style": "default",
|
||||
"icon": "glyphicon glyphicon-arrow-left",
|
||||
"acl": "read"
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user