Skip to content

Commit

Permalink
chore: update sso pricing plan (#506)
Browse files Browse the repository at this point in the history
* docs: update sso pricing plan

* update
  • Loading branch information
OP3ratordec authored Jan 20, 2025
1 parent 653bde1 commit 445733b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/docs/administration/sign-in-restriction.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ You need to restart Bytebase to make the change take effect.

## Disallow Sign-in with Email & Password

<PricingPlanBlock feature_name='SSO' />
<PricingPlanBlock feature_name='DISALLOW_SIGNIN_WITH_EMAIL_PASSWORD' />

Once [SSO](/docs/administration/sso/overview) is configured, you can [enforce SSO sign-in](/docs/administration/sso/overview/#enforce-sso-sign-in) for all users.

Expand Down
1 change: 1 addition & 0 deletions src/lib/features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export const FEATURES = {
SECRET_VARIABLE: 'Secret variable',
EXTERNAL_SECRET_MANAGER: 'External Secret Manager',
SSO: 'Single Sign-On (SSO)',
DISALLOW_SIGNIN_WITH_EMAIL_PASSWORD: 'Disallow signin with email & password',
SCIM: 'SCIM',
'2FA': 'Two-Factor Authentication (2FA)',
SSH_TUNNEL: 'SSH Tunnel',
Expand Down
3 changes: 2 additions & 1 deletion src/lib/pricing-plan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@ const PRICING_PLANS = new Map([
['BACKUP_POLICY', 'PRO'],
['SECRET_VARIABLE', 'PRO'],
['EXTERNAL_SECRET_MANAGER', 'ENTERPRISE'],
['SSO_BASIC', 'ENTERPRISE'],
['SSO_BASIC', 'PRO'],
['SSO_ADVANCED', 'ENTERPRISE'],
['SCIM', 'ENTERPRISE'],
['2FA', 'ENTERPRISE'],
['PASSWORD_RESTRICTION', 'ENTERPRISE'],
['DISALLOW_SIGNIN_WITH_EMAIL_PASSWORD', 'ENTERPRISE'],
['SSH_TUNNEL', 'ENTERPRISE'],
['QUERY_EXPORT_APPROVAL_WORKFLOW', 'ENTERPRISE'],
['ENVIRONMENT_TIER', 'ENTERPRISE'],
Expand Down

0 comments on commit 445733b

Please sign in to comment.