Function: isPlatformKey()
isPlatformKey(
key):boolean
Defined in: packages/contracts/src/permissions/hosts.ts:136
Whether a registry key is a platform key: a request whose tenant token is the literal PLATFORM_TENANT. Such a key is reached with the platform actor, and only its listed callers hold the grant, for that key alone (30, a platform grant is held per key).
Parameters
key
string
A registry key or a concrete subject.
Returns
boolean
true for request.platform.… keys.