Temporary fix for an issue with the ACL

pull/64/merge
iglocska 2013-03-15 15:15:10 +01:00
parent 1f074e53f9
commit aa2340c3f2
1 changed files with 2 additions and 2 deletions

View File

@ -130,9 +130,9 @@ class AppController extends Controller {
// TODO ACL: 5: from Controller to Views
$this->set('isAclAdd', $this->checkAcl('add'));
$this->set('isAclModify', $this->checkAcl('edit'));
$this->set('isAclModify', $this->checkAction('perm_modify'));
$this->set('isAclModifyOrg', $this->checkAction('perm_modify_org'));
$this->set('isAclPublish', $this->checkAcl('publish'));
$this->set('isAclPublish', $this->checkAction('publish'));
$this->set('isAclAdd2', $this->checkAction('perm_add'));
$this->set('isAclSync', $this->checkAction('perm_sync'));
$this->set('isAclAdmin', $this->checkAction('perm_admin'));