src/Object/MetaObject.php
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;
    }
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;
    }
Check is allow access?

@global BizSystem $g_BizSystem
@param <type> $access
@return <type>