restrict number of workspace forks in CE

This commit is contained in:
Ruben Fiszel
2026-02-13 14:58:54 +00:00
parent ee5d884ce1
commit ba2bb2d865
@@ -3418,6 +3418,9 @@ async fn create_workspace_fork(
)));
}
#[cfg(not(feature = "enterprise"))]
_check_nb_of_workspaces(&db).await?;
if *DISABLE_WORKSPACE_FORK {
require_super_admin(&db, &authed.email).await?;
}