From aa2340c3f27b2f2b7d8c65dd5018bbee08c982e5 Mon Sep 17 00:00:00 2001 From: iglocska Date: Fri, 15 Mar 2013 15:15:10 +0100 Subject: [PATCH] Temporary fix for an issue with the ACL --- app/Controller/AppController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Controller/AppController.php b/app/Controller/AppController.php index fd2d70766..ed8e07418 100755 --- a/app/Controller/AppController.php +++ b/app/Controller/AppController.php @@ -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'));