fix meeting acl

This commit is contained in:
yuri
2018-09-07 14:38:02 +03:00
parent 858658768d
commit 54085a59c3
@@ -34,6 +34,8 @@ use \Espo\ORM\Entity;
class Meeting extends \Espo\Core\Acl\Base
{
protected $ownerUserIdAttribute = 'usersIds';
public function checkEntityRead(User $user, Entity $entity, $data)
{
if ($this->checkEntity($user, $entity, $data, 'read')) {