CrossTenant

class CrossTenant @InternalWowApi constructor(val tenantIds: Set<String>? = null)

The tenants a cross-tenant query reads: every tenant when tenantIds is null (ALL), else those. Only the HTTP edge states one, for a caller that may act across scopes and names Wow-Scope: tenant=* or tenant=("t1" "t2") while wow.query.allow-cross-tenant is on; trusted in-process code that must read every tenant uses NodeQueryApi.trusted(). A type whose tenant is fixed is still read in that tenant alone, and every cross-tenant query is audited, whether or not a QueryObserver audits.

Constructors

Link copied to clipboard
constructor(tenantIds: Set<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun covers(tenantId: String): Boolean

Whether the query reads tenantId.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String