Skip to main content

require_admitted_service_binding

Function require_admitted_service_binding 

Source
pub fn require_admitted_service_binding(
    roster: &Arc<dyn DeploymentRosterSource>,
    proof: &MoqlAdmissionProof,
) -> Result<()>
Expand description

Client-side membership self-check: the process’s own proof must resolve to SOME uniquely-held deployment service. CLI/embedded processes bootstrap with one of the deployment identities (whichever the process was provisioned as), so — like the former require_event_tenant, which accepted any local-bound DID — the check is roster membership, not equality with a specific service.