From 572de2727541c497ed4fae986b300e4cdc8d3f30 Mon Sep 17 00:00:00 2001 From: Jordan Lorho Date: Fri, 1 May 2026 22:14:45 +0200 Subject: [PATCH 1/6] feat(sso): remove sso_enabled flag, always show SSO section SSO settings are now visible to all org members with super-admin permissions. Enterprise orgs see the configuration form directly; non-enterprise orgs see an upgrade prompt. The Capgo-managed sso_enabled column is dropped from orgs and all related DB functions are updated accordingly. Co-Authored-By: Claude Sonnet 4.6 --- src/pages/settings/organization/Security.vue | 4 +- src/types/supabase.types.ts | 5 - .../_backend/private/sso/providers.ts | 17 +- .../_backend/utils/supabase.types.ts | 5 - ...20260501120000_remove_sso_enabled_flag.sql | 423 ++++++++++++++++++ .../organization-put-stripe-sync.unit.test.ts | 1 - tests/sso.test.ts | 28 +- 7 files changed, 435 insertions(+), 48 deletions(-) create mode 100644 supabase/migrations/20260501120000_remove_sso_enabled_flag.sql diff --git a/src/pages/settings/organization/Security.vue b/src/pages/settings/organization/Security.vue index 2dfccbdefc..1f7afcd3e2 100644 --- a/src/pages/settings/organization/Security.vue +++ b/src/pages/settings/organization/Security.vue @@ -1448,8 +1448,8 @@ onMounted(async () => { - -
+ +