pub async fn enable_workspaces(o: &SetupOptions) -> Result<WorkspacesStatus>Expand description
Turns Workspaces on for the organization, so sandboxes can be created in it. It is what
chainctl develop init --parent ORG does for an existing organization, without chainctl. It
needs the owner role, and does nothing if everything is already in place. The steps:
- Accept the terms. Only with
accept_terms; without it, an organization with unaccepted terms getsError::TermsNotAcceptedlisting them. - Link a GitHub account, if the organization has none: the service requires one. This opens a
browser on GitHub, where you choose the account, and waits for you to finish (up to 10
minutes). The Chainguard GitHub App must be installed on the account; if it is not, the
error is
Error::GitHubAppNotInstalledwith the page to install it from. - Turn the feature on with the plan’s allowance. This also turns on Chainguard Checks, which the same switch controls.