Skip to content

chore: sso entitlement check#43302

Merged
ignaciodob merged 1 commit intomasterfrom
ignaciodobronich/billing-2035-entitlement-check-for-sso
Mar 3, 2026
Merged

chore: sso entitlement check#43302
ignaciodob merged 1 commit intomasterfrom
ignaciodobronich/billing-2035-entitlement-check-for-sso

Conversation

@ignaciodob
Copy link
Contributor

Adds the entitlement check to invite new members through SSO in the Team management page

Testing

  • Head to /org/_/team with an Org on the Free or Pro plan
  • Click on Invite members
  • Assert that you're shown the upgrade prompt
image
  • Head to /org/_/team with an Org on the Team Plan
  • Click on Invite members
  • Assert that SSO is shown as available
image

@ignaciodob ignaciodob self-assigned this Mar 2, 2026
@ignaciodob ignaciodob requested a review from a team as a code owner March 2, 2026 19:30
@vercel
Copy link

vercel bot commented Mar 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
studio-self-hosted Ready Ready Preview, Comment Mar 2, 2026 7:30pm
studio-staging Building Building Preview, Comment Mar 2, 2026 7:30pm
7 Skipped Deployments
Project Deployment Actions Updated (UTC)
cms Ignored Ignored Mar 2, 2026 7:30pm
studio Ignored Ignored Mar 2, 2026 7:30pm
design-system Skipped Skipped Mar 2, 2026 7:30pm
docs Skipped Skipped Open in v0 Mar 2, 2026 7:30pm
learn Skipped Skipped Mar 2, 2026 7:30pm
ui-library Skipped Skipped Mar 2, 2026 7:30pm
zone-www-dot-com Skipped Skipped Open in v0 Mar 2, 2026 7:30pm

Request Review

@supabase
Copy link

supabase bot commented Mar 2, 2026

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 2, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Central YAML (base), Repository UI (inherited), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Cache: Disabled due to Reviews > Disable Cache setting

Disabled knowledge base sources:

  • Linear integration is disabled

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between f5667ac and 264d67c.

📒 Files selected for processing (1)
  • apps/studio/components/interfaces/Organization/TeamSettings/InviteMemberButton.tsx

📝 Walkthrough

Summary by CodeRabbit

  • Refactor
    • Improved Single Sign-On feature access determination in team member invitation interface.
    • Updated UI layout for SSO information display based on access status.
    • Refined upgrade prompt visibility for team settings.

Walkthrough

This change modifies the InviteMemberButton component to switch from plan-based gating (free/pro) to entitlement-based gating for Single Sign-On (SSO) features. The component now uses the useCheckEntitlements('auth.platform.sso') hook to determine SSO access. The UI layout logic for the SSO note is updated to conditionally adjust between vertical and horizontal layouts based on SSO entitlement status, and the UpgradePlanButton visibility is now tied to SSO entitlement access rather than plan tier.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ignaciodob ignaciodob changed the title chore: sso entitlment check chore: sso entitlement check Mar 2, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2026

🎭 Playwright Test Results

passed  145 passed
flaky  2 flaky
skipped  4 skipped

Details

stats  151 tests across 20 suites
duration  9 minutes, 58 seconds
commit  264d67c

Flaky tests

Features › cron-jobs.spec.ts › High Query Cost Banner › shows banner and still displays cron jobs when query cost exceeds threshold
Features › database.spec.ts › Database › Schema Visualizer › actions works as expected

Skipped tests

Features › sql-editor.spec.ts › SQL Editor › snippet favourite works as expected
Features › sql-editor.spec.ts › SQL Editor › share with team works as expected
Features › sql-editor.spec.ts › SQL Editor › folders works as expected
Features › sql-editor.spec.ts › SQL Editor › other SQL snippets actions work as expected

Copy link
Contributor

@awaseem awaseem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ignaciodob ignaciodob merged commit 8222bb9 into master Mar 3, 2026
35 checks passed
@ignaciodob ignaciodob deleted the ignaciodobronich/billing-2035-entitlement-check-for-sso branch March 3, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants