Cotal TypeScript packages
    Preparing search index...

    Function authConnectReaderGrants

    • The connect reader's SCOPED credential grant (SPEC 13.9). Read-only over BOTH authority stores, plus the bind-time shape-proof INFO and a connection-scoped reply inbox. It holds NO write, NO consumer create/update/delete, NO DIRECT.GET, and no account-wide inbox.

      D32 residual (named, not pretend-confined): $JS.API.STREAM.MSG.GET.<stream> is body-selected — broker ACLs cannot scope it to only cred./head subjects, so this grant is a space-wide read of credential METADATA (holderPrincipal/state/chain/lifecycleUid/exp; NO secret key material rides the row, confirmed against the closed CredentialLedgerRow schema) plus the caller-selected-reply injection class every raw MSG.GET profile carries. Acceptable for this trusted, bounded-lived, short-exp+renewed infra reader; a genuinely ledgered infra-reader family is the deferred infra-mint work (a self-minted reader is revoked by stopping the service / rotating the seed, not an agent-barrier revoke — it is not a managed-agent or endpoint descendant).

      Parameters

      • space: string
      • connId: string

      Returns { publish: string[]; subscribe: string[] }