From ba2bb2d865f1108dbb0a490359212ed6820ec007 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Fri, 13 Feb 2026 14:58:54 +0000 Subject: [PATCH] restrict number of workspace forks in CE --- backend/windmill-api-workspaces/src/workspaces.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/windmill-api-workspaces/src/workspaces.rs b/backend/windmill-api-workspaces/src/workspaces.rs index f3581b787a..01a8bcb729 100644 --- a/backend/windmill-api-workspaces/src/workspaces.rs +++ b/backend/windmill-api-workspaces/src/workspaces.rs @@ -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?; }