You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d6f9224
Browse filesBrowse the repository at this point in the historyBrowse files
feat(webapp): gate SSO on the hasSso entitlement instead of the Enterprise plan
The SSO settings surface compared the org's plan code against the literal
string "enterprise", so granting SSO meant moving the org onto the
enterprise plan and everything else that implies.
Read the hasSso plan entitlement instead, which billing resolves as
per-org override ?? plan default. Enterprise keeps SSO by default and any
org can now be granted it without a plan change.
Directory Sync effects are gated too, so revoking the entitlement stops
SCIM provisioning rather than only freezing the settings page. An
unreadable entitlement throws so the worker retries — effects are
idempotent, and skipping would silently drop a directory change.
Entitlement reads go through a new SWR cache namespace, replacing an
uncached billing round-trip on every settings load.
Requires @trigger.dev/platform 1.3.0: the older Limits schema strips the
unknown hasSso key during parsing, so the field is invisible until the
dependency is bumped.
0 commit comments