This guide explains how to automatically add users to a Discourse group based on their email domain. It is intended for site administrators who manage Discourse groups.
Required user level: Administrator
Discourse allows you to automatically add users to a custom group based on their email domain. Users who register with a matching email domain will be added automatically, and existing users with a matching email will also be added when the setting is saved.
To add users to a group based on their email domain:
-
Navigate to the group’s “Manage” → “Membership” page.
-
In the “Automatic” section, add the desired email domain(s).
-
Save to apply the changes. If existing users match the new email domain(s), a confirmation dialog will appear showing how many users will be added to the group. Existing users must have a confirmed email address to be added.
This setting is only available for custom groups that you create, but it can be used to automatically grant membership in a Discourse Trust Level group by combining it with the group’s automatic Trust Level setting.
Last edited by @SaraDev 2024-07-09T20:41:17Z
Check document
Perform check on document:

