@sgrs/client-ts
    Preparing search index...

    Function assertOwnedByTenant

    • Assert that subject starts with the expected tenant prefix. Used internally to prevent cross-tenant publish.

      Parameters

      • subject: string
      • tenant: string

      Returns void

      if subject is outside the tenant's namespace