Skip to content

Commit fa61304

Browse files
committed
chore: simplify password restriction
1 parent 440a7be commit fa61304

File tree

3 files changed

+4
-17
lines changed

3 files changed

+4
-17
lines changed

content/docs/administration/password.md

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,19 @@
11
---
22
title: Password Restriction
3-
feature_name: PASSWORD
43
---
54

6-
This document explains the **Password Restriction** on Bytebase accounts.
7-
85
## Default restriction
96

10-
When signing up for an account, whether you're an Enterprise Plan or Community plan user, you must follow these default restrictions:
11-
127
- Minimum length for password should no less than 8 characters
138
- The password must contain at least one letter, regardless of upper case or lower case
149

15-
Passwords must be typed in manually and cannot be pasted. You will need to repeat the password to confirm it.
16-
17-
If your password or confirmation violates any restriction, the corresponding bar and comment will turn red until the password is corrected.
18-
19-
You can toggle the visibility of your password by clicking the eye icon on the input bar. If the password is visible, the confirmation will also be visible, and vice versa.
20-
21-
![pwd-violate](/content/docs/administration/password/pwd-violate.webp)
22-
23-
The restrictions above can be seen when your mouse hovers over the `?` icon by the `Password should follow restriction setting` comment on **Password** bar. The tooltips tells whether you've violated a rule by a `!` or `tick` icon.
10+
The restrictions above can be seen when your mouse hovers over the `?` icon.
2411

2512
![pwd-restrictions](/content/docs/administration/password/pwd-restrictions.webp)
2613

27-
## Restriction Configuration
14+
## Configure restriction
2815

29-
Enterprise Plan users can configure custom password restrictions.
16+
<PricingPlanBlock feature_name='PASSWORD_RESTRICTION' />
3017

3118
Go to **Settings** -> **General** from the left side bar in Workspace. Scroll down to the **Account** section, where you can alter the minimum length or components of your password. You can also decide whether users should reset their password after the first login or after a specified number of days.
3219

-16.6 KB
Binary file not shown.

src/lib/pricing-plan.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const PRICING_PLANS = new Map([
5353
['SSO_ADVANCED', 'ENTERPRISE'],
5454
['SCIM', 'ENTERPRISE'],
5555
['2FA', 'ENTERPRISE'],
56-
['PASSWORD', 'ENTERPRISE'],
56+
['PASSWORD_RESTRICTION', 'ENTERPRISE'],
5757
['SSH_TUNNEL', 'ENTERPRISE'],
5858
['QUERY_EXPORT_APPROVAL_WORKFLOW', 'ENTERPRISE'],
5959
['ENVIRONMENT_TIER', 'ENTERPRISE'],

0 commit comments

Comments
 (0)