انتقل إلى المحتوى الرئيسي

Variable: PlatformActor

const PlatformActor: TObject<{ kind: TLiteral<"platform">; roles: TArray<TString>; scopePath: TLiteral<"/">; subjectId: TLiteral<"00000000-0000-0000-0000-000000000000">; tenant: TLiteral<"platform">; }>

Defined in: packages/contracts/src/envelope.ts:43

The platform actor: the only actor that may stand at the root /, in tenant platform. It is the nil subject with no roles and carries no authority of its own; it can be turned into a PlatformScope only by a principal holding a platform grant, and into a tenant Scope never. A message from the gateway proves it with the same signed actor token as any other actor (D2.2), whose sub is platform.