public function allowAccess($access = null)
    {
        if (CLI) {
            return OPENBIZ_ALLOW;
        }
        if (!$access) {
            $access = $this->access;
        }
        if ($access) {
            return Openbizx::$app->allowUserAccess($access);
        }
        return OPENBIZ_ALLOW;
    }