Skip to content

Commit 89121e3

Browse files
authored
docs: add password restriction (#494)
1 parent 24c427e commit 89121e3

File tree

6 files changed

+27
-0
lines changed

6 files changed

+27
-0
lines changed

content/docs/_layout.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ expand_section_list: ['Self-host']
213213

214214
### [2FA](/administration/2fa)
215215

216+
### [Password Restriction](/administration/password)
217+
216218
### [Sign-in Frequency](/administration/sign-in-frequency)
217219

218220
### [Watermark](/security/watermark)
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Password Restriction
3+
feature_name: PASSWORD
4+
---
5+
6+
This document explains the **Password Restriction** on Bytebase accounts.
7+
8+
When signing up for an account, you must follow these restrictions:
9+
10+
- Minimum length for password should no less than 8 characters
11+
- The password must contain at least one letter, regardless of upper case or lower case
12+
13+
Passwords must be typed in manually and cannot be pasted. You will need to repeat the password to confirm it.
14+
15+
If your password or confirmation violates any restriction, the corresponding bar and comment will turn red until the password is corrected.
16+
17+
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.
18+
19+
![pwd-violate](/content/docs/administration/password/pwd-violate.webp)
20+
21+
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 wether you've violated a rule by a `!` or `tick` icon.
22+
23+
![pwd-restrictions](/content/docs/administration/password/pwd-restrictions.webp)
71.9 KB
Loading
38.9 KB
Loading

src/lib/features.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export const FEATURES = {
5353
AUDIT_LOG: 'Audit Log',
5454
SIGNUP_RESTRICTION: 'Self-signup restriction',
5555
SIGNIN_FREQUENCY: 'Sign-in Frequency',
56+
PASSWORD: 'Password Restriction',
5657
ANOMALY_CENTER: 'Anomaly Center',
5758

5859
//Bespoke

src/lib/pricing-plan.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const PRICING_PLANS = new Map([
5353
['SSO_ADVANCED', 'ENTERPRISE'],
5454
['SCIM', 'ENTERPRISE'],
5555
['2FA', 'ENTERPRISE'],
56+
['PASSWORD', 'COMMUNITY'],
5657
['SSH_TUNNEL', 'ENTERPRISE'],
5758
['QUERY_EXPORT_APPROVAL_WORKFLOW', 'ENTERPRISE'],
5859
['ENVIRONMENT_TIER', 'ENTERPRISE'],

0 commit comments

Comments
 (0)