fix get user Acl

This commit is contained in:
Yuri Kuznetsov
2014-09-05 11:20:12 +03:00
parent 96ed9612d4
commit 8ed9b9ebd2
2 changed files with 1 additions and 2 deletions

View File

@@ -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();
}

View File

@@ -39,7 +39,6 @@
"label": "Reply",
"action": "reply",
"style": "default",
"icon": "glyphicon glyphicon-arrow-left",
"acl": "read"
}
],