Ejemplo n.º 1
0
 /**
  * Checks access right against the config in the DB (see adminaccess for detail)
  */
 private function grantAccessRights()
 {
     if ($this->_config->accessrightsenabled == 'yes') {
         Sydney_Accessright::$request = $this->request;
         return Sydney_Accessright::isAuthorized();
     } else {
         return true;
     }
 }