Cotal TypeScript packages
    Preparing search index...

    Function userViewAuth

    • Mint an elevated-view bearer over an existing user-mode Connection — the user-mode path for the operator surfaces (web, console, history clear, channels, spawn -f). The view is authorized server-side against the fresh ledger row; a refusal THROWS the exact re-grant sentence. Call ONLY with a user-mode connection (conn.bearer set) — anything else is a caller bug. Long-running servers (the web delete handler) call THIS and surface the thrown sentence; CLI startup paths use userViewAuthOrExit.

      Parameters

      • conn: Connection
      • view: string
      • opts: {
            managerInstanceId?: string;
            transferWriter?: { hex: string; instanceId: string };
        } = {}

      Returns Promise<UserViewAuth>