コード例 #1
0
 /**
  * Check user's access rights to the controller.
  *
  * @return bool
  */
 protected function _isAllowed()
 {
     $result = parent::_isAllowed();
     $result = $result && $this->_authorization->isAllowed($this->_aclResource);
     return $result;
 }