Skip to main content

enable_sandbox

Function enable_sandbox 

Source
pub async fn enable_sandbox(
    ts: Option<SharedTokenSource>,
    org: &str,
) -> Result<()>
Expand description

Turns on Checks and Workspaces for the organization, with its plan’s monthly allowance. An allowance Chainguard already granted is kept. It needs the owner role, and the organization must have accepted the terms first: otherwise the error’s PlatformError::missing_terms lists the documents.