|
2 | 2 | title: Sign-in Restriction |
3 | 3 | --- |
4 | 4 |
|
5 | | -This document explains some sign-in restrictions. |
| 5 | +<HintBlock type="info"> |
| 6 | + |
| 7 | +Only **Workspace Admin** can update the settings. |
| 8 | + |
| 9 | +</HintBlock> |
6 | 10 |
|
7 | 11 | ## Sign-in Frequency |
8 | 12 |
|
9 | 13 | <PricingPlanBlock feature_name='SIGNIN_FREQUENCY' /> |
10 | 14 |
|
11 | 15 | **Sign-in Frequency** specifies the period that users are required to sign in again. |
12 | 16 |
|
13 | | -Only **Workspace Admin** can update the **Sign-in Frequency** settings. |
14 | | - |
15 | | -In Bytebase Workspace, Go to **Settings** -> **General** and scroll down to **Account** section, where you can |
16 | | - |
17 | | -- Choose between `Hour(s)` and `Day(s)`. |
18 | | -- Click `+`,`-` or input a number to set the **Sign-in Frequency**. |
| 17 | +In Bytebase Workspace, Go to **Settings** -> **General** and scroll down to **Account** section. |
19 | 18 |
|
20 | 19 |  |
21 | 20 |
|
22 | | -<HintBlock type="info"> |
23 | | - |
24 | | -You need to restart Bytebase and re-login to make the change take effect. |
25 | | - |
26 | | -</HintBlock> |
| 21 | +You need to restart Bytebase to make the change take effect. |
27 | 22 |
|
28 | 23 | ## Disallow Sign-in with Email & Password |
29 | 24 |
|
30 | 25 | <PricingPlanBlock feature_name='SSO' /> |
31 | 26 |
|
32 | | -As `Workspace Admin`, having had [SSO](https://www.bytebase.com/docs/administration/sso/overview) (for example [OAuth 2.0 in GitHub](https://www.bytebase.com/docs/administration/sso/oauth2/#github)) configured, you can [enforce SSO sign-in](https://www.bytebase.com/docs/administration/sso/overview/#enforce-sso-sign-in) for all users in Workspace. |
| 27 | +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. |
33 | 28 |
|
34 | 29 | ## Sign-in from Email Domains |
35 | 30 |
|
36 | | -Go to **Settings** -> **General**, scroll down to **Security** section. Fill in `Workspace Domain` tab with the email domain for your Workspace members. Click **Update** to save changes. |
| 31 | +Go to **Settings** -> **General**, scroll down to **Security** section. Fill in `Workspace Domain` tab with the email domain for your Workspace members. Then tick the `Members restriction` box. |
37 | 32 |
|
38 | 33 |  |
39 | 34 |
|
40 | | -You can restrict members' email addresses by ticking the `Members restriction` box. Afterwards, when you |
41 | | -- Sign in (Note that the new restriction only works for the accounts registered after the `Workspace Domain` was updated) |
42 | | -  |
43 | | - |
44 | | -or |
| 35 | +Domain restriction applies to: |
45 | 36 |
|
46 | | -- **Add User** in **IAM & Admin** -> **Users & Groups** |
47 | | -  |
| 37 | +- Sign-in page. (Note that the new restriction only applies to the accounts registered after the `Workspace Domain` was updated) |
| 38 | +  |
48 | 39 |
|
49 | | -Users' email must be of the domain you set in both scenarios. |
| 40 | +- **Add User** in **IAM & Admin** -> **Users & Groups**. Users' email must be of the domain you set in both scenarios. |
| 41 | +  |
0 commit comments