Skip to main content

OWN_DEVICE_SCOPE

Constant OWN_DEVICE_SCOPE 

pub const OWN_DEVICE_SCOPE: &'static str;
Expand description

The contract tag of an effect whose whole scope is the invoking person’s own device: it touches nothing a workspace shares and no one else (their clipboard, their own appearance, a network test from their own browser, a draft of their own). A workspace’s grants have nothing to consent to, so it needs only what reading needs (ActionContract::need), and a guest presses it as the workspace’s owner does. Whatever shared it goes on to change goes through that change’s own action and is decided there. Being the invoker’s own device, it runs only for the person at the device it acts on and those acting for them. An effect that reaches other people (a direct message, a call, a shared live context) is not of this scope.