Skip to main content

grant

Function grant 

Source
pub(super) async fn grant(
    state: &AppState,
    caller: &RemoteCaller,
    params: Value,
) -> Result<Value, RemoteRefusal>
Expand description

Turn a service of an account on (level read or write) or off (off) for an agent here. A state change: the transport has already required a certificate from a trusted install for it.