code: private function _checkAccess() : bool {
  
  		$oSecurity = Config::get('security');
  
  		if (isset($oSecurity->access)) {
  
  			foreach ($oSecurity->access as $sPathAccess => $aParams) {
  
  				if (preg_match('#'.$sPathAccess.'#', str_replace($this->_sBaseUri, '', $_SERVER['REQUEST_URI']))) {
  
  					if (in_array($this->getUserRole(), $aParams->roles)) { return true; } else { return false; }
  				}
  			}
  		}
  
  		return true;
  	}
docs: check access
  
  @access private
  @return bool