ReservedTargets

The targets a service reserves (#7333): those any caller its resolver gives may name in Wow-Scope beyond its own scope, such as the view store's owner (shared) of the caller's tenant and owner (system) of the tenant (platform). A service declares them in code, as a bean, which the host unites into the tenant policy every node of the service applies alike.

What a reserved target grants, and nothing more:

  • Any caller the resolver gives may name it, the anonymous caller of a development node included: admission and the reads take a request naming it, exactly, as they take a cross-scope caller's (Caller.crossScope).

  • It gives no reach: only Caller.crossScope reaches every tenant (an operator's routes: the parked entries, the subscriptions), so a caller that names one is answered there as any caller of its own tenant.

  • It gives no other target: another scope still takes Caller.crossScope.

  • Who may write there is the authorizer's to decide, and who is let in at all the resolver's.

Experimental: it may change within 10.x. Fields may be added: construct one with of; the constructor is internal to Wow.

Constructors

Link copied to clipboard
constructor(targets: Set<TargetScope>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

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