public function hasAccessTo($controller, $action, $module = null)
    {
        if (!$this->accessMap) {
            return true; // if no access map is defined then it has access everywhere
        }
        if (is_null($module)) {
            $module = $this->request()->getModule();
        }
        return $this->accessMap->canAccess($controller, $action, $module);
    }