mirror of https://github.com/MISP/MISP
Temporary fix for an issue with the ACL
parent
1f074e53f9
commit
aa2340c3f2
|
@ -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'));
|
||||
|
|
Loading…
Reference in New Issue