pub fn create_sandbox_human(
parent: &str,
form: Form<SandboxForm>,
session: Option<AdminSession>,
pool: &State<DbPool>,
database_url: &State<DatabaseUrl>,
) -> Result<Redirect, Status>Expand description
The human twin of create_sandbox_corpus: the corpus page’s “Create a sandbox” form. Gated
by the signed-in AdminSession cookie; carves the sandbox off the request path and
redirects to /jobs. 404 unknown parent, 409 name taken.