diff --git a/surfsense_web/app/dashboard/[search_space_id]/onboard/page.tsx b/surfsense_web/app/dashboard/[search_space_id]/onboard/page.tsx index 1a4d24bd6..960021da3 100644 --- a/surfsense_web/app/dashboard/[search_space_id]/onboard/page.tsx +++ b/surfsense_web/app/dashboard/[search_space_id]/onboard/page.tsx @@ -150,14 +150,21 @@ const OnboardPage = () => { ); } - // No configs available - show LLM setup - if (allConfigs.length === 0) { + // Show LLM setup if no configs available OR if roles are not assigned yet + // This forces users to complete role assignment before seeing the final screen + if (allConfigs.length === 0 || !isOnboardingComplete()) { return (