editActions) ? Acl::PRIVILEGE_WRITE : Acl::PRIVILEGE_READ; return $this->getDoc()->getAcl()->isAllowed($this->getDoc()->getAclResource(), $privilege); } }