diff --git a/static/images/help/allowed-domains-list.png b/static/images/help/allowed-domains-list.png new file mode 100644 index 0000000000..c786c8b282 Binary files /dev/null and b/static/images/help/allowed-domains-list.png differ diff --git a/static/images/help/restrict-domains-checkbox.png b/static/images/help/restrict-domains-checkbox.png new file mode 100644 index 0000000000..c1e77ad85f Binary files /dev/null and b/static/images/help/restrict-domains-checkbox.png differ diff --git a/templates/zerver/help/index.md b/templates/zerver/help/index.md index d4a0dd3edc..031cdbc9ce 100644 --- a/templates/zerver/help/index.md +++ b/templates/zerver/help/index.md @@ -127,7 +127,7 @@ as a **organization**. ## Organization Settings * [Change your administrator settings](/help/edit-administrator-settings) * [Change your organization's name](/help/change-your-organizations-name) -* Restrict user email addresses to certain domains +* [Restrict user email addresses to certain domains](/help/restrict-user-email-addresses-to-certain-domains) * [Allow anyone to join without an invitation](/help/allow-anyone-to-join-without-an-invitation) * [Only allow admins to invite new users](/help/only-allow-admins-to-invite-new-users) * [Only allow admins to create new streams](/help/only-allow-admins-to-create-new-streams-feature) diff --git a/templates/zerver/help/restrict-user-email-addresses-to-certain-domains.md b/templates/zerver/help/restrict-user-email-addresses-to-certain-domains.md new file mode 100644 index 0000000000..74cbd6a032 --- /dev/null +++ b/templates/zerver/help/restrict-user-email-addresses-to-certain-domains.md @@ -0,0 +1,34 @@ +# Restrict user email addresses to certain domains + +We allow administrators to block new users from signing up who are not in + the organization. The administrator can accomplish this by restricting + users to have email addresses only from the organization's domains. + +{!go-to-the.md!} [Organization settings](/#administration/) +{!admin.md!} + +2. Restricting user email addresses to certain domains can be enabled or disabled + with the **Users restricted to (allowed domains)** checkbox shown below: + + ![Restrict domains checkbox](/static/images/help/restrict-domains-checkbox.png) + + !!! tip "" + The allowed domains will be listed after the **Users restricted to** + next to the checkbox. + +3. Domains can be added to the allowed domains list by clicking on the + **Change domains** link next to the checkbox. The **Allowed Domains** + list will now appear. You can then add a domain to the list by typing the + domain into the box underneath the list and clicking the **Add** button. + + ![Allowed domains list](/static/images/help/allowed-domains-list.png) + +4. Domains can be deleted from the **Allowed Domains** list by clicking + the **Delete** button next to a domain on the list. + + + !!! warn "" + Note: You must have at least one allowed domain if + **Users restricted to** is enabled + +