trusted_workspace_capabilities

Function trusted_workspace_capabilities 

Source
pub fn trusted_workspace_capabilities() -> CapabilitySet
Expand description

Capabilities used to authorize requests arriving from the workspace.

In the current IPC topology, a child process only accepts inbound IPC requests from its parent workspace process over its single control connection. The parent workspace is trusted to call into the child’s locally-hosted services (e.g., process, network, renderer).

This capability set is used on the child side for authorizing incoming requests. It is intentionally distinct from the capability set issued by the workspace during handshake, which represents what the child is allowed to call on the workspace.