Skip to main content
Table of Contents

Class TenantIsolationOptions

Namespace
Stratara.Mediator.Multitenancy
Assembly
Stratara.Mediator.dll

Options controlling the tenant-isolation pipeline behavior.

public sealed class TenantIsolationOptions
Inheritance
TenantIsolationOptions
Inherited Members
Extension Methods

Properties

AuthorizePlatformActor

Whether work the platform starts on a tenant's behalf — a session carrying the reserved system actor identities, as SessionContext.ForPlatform builds it — is referred to the cross-tenant authorizer like any other cross-tenant operation.

false by default: the platform acting for a tenant is not one tenant acting on another, so strict mode permits it and records it under its own log event, and a host does not have to teach its authorizer about the framework's own timers, saga steps and sweeps. Set it to true to decide in the authorizer instead — with the shipped deny-everything default that refuses every platform-initiated request. The data-owner check applies either way.

public bool AuthorizePlatformActor { get; set; }

Property Value

bool

Mode

The enforcement mode. Defaults to Default.

public TenantIsolationMode Mode { get; set; }

Property Value

TenantIsolationMode