# 自动将公司域名的电子邮件地址添加为版主

**URL:** <https://meta.discourse.org/t/automatically-add-emails-addresses-from-company-domain-to-moderators/132793>\
**Category:** Support\
**Created:** [2019年十一月6日 23:15 UTC](https://meta.discourse.org/t/automatically-add-emails-addresses-from-company-domain-to-moderators/132793 "2019-11-06T23:15:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Perry\_Eising](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/perry_eising/32/151717_2.png) [@Perry\_Eising](https://meta.discourse.org/u/Perry_Eising)\
**Post date:** [2019年十一月6日 23:15 UTC](https://meta.discourse.org/t/automatically-add-emails-addresses-from-company-domain-to-moderators/132793/1 "2019-11-06T23:15:16Z")

</div>

我想实现自动化：当用户使用特定电子邮件域名注册账户时，自动将其添加到版主组。

这篇帖子描述了我想要实现的功能：

> [@Automatically map email domains to groups / permission sets?](https://meta.discourse.org/t/automatically-map-email-domains-to-groups-permission-sets/23624):
>
> We are getting started with Discourse at Looker and we plan to use the same forum for employee-only posts as we do for the general public. Until now I’ve been making every Looker employee who signs up a moderator or admin so they can see the Staff-only category (I realize I could make an employee group too/instead). Is there a more programmatic way to do this (map @looker.com email address to a trust level / group)?

但我无法在 _管理 \> 群组_ 下找到“自定义”选项。

这篇帖子有些年头了，也许用户界面已经发生了变化？

感谢任何提示。

---

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [2019年十一月7日 00:30 UTC](https://meta.discourse.org/t/automatically-add-emails-addresses-from-company-domain-to-moderators/132793/2 "2019-11-07T00:30:12Z")

</div>

> [@Perry\_Eising](#):
>
> 这篇帖子有点旧了，也许用户界面已经更新了？

该功能仍然可用，但用户界面已更新。如果您正在创建新群组，可以在新群组配置页面的“自动”部分找到该设置。若要将自动邮箱域名添加到现有群组，请单击该群组的“管理”标签，然后从左侧菜单中单击“成员资格”链接。

> [@Perry\_Eising](#):
>
> 我希望自动化处理所有使用特定邮箱域名创建账户的用户，将他们自动添加到版主群组。

无法将用户添加到 Discourse 为您创建的版主（Moderators）群组中。要将用户添加到版主群组，您需要前往用户的“管理”页面并单击“授予管理权限”按钮。唯一可以基于邮箱域名自动添加用户的群组是您自己创建的群组。无法基于邮箱域名添加用户的群组包括：工作人员（staff）、版主（moderators）和管理员（admins）群组。

您无法根据邮箱域名直接将用户添加到信任等级群组，但您可以使用自定义群组来影响用户的信任等级。这可以在群组的“效果”部分进行配置。当用户被添加到该群组时，他们将获得在此部分设置的信任等级。

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2019年十一月7日 13:25 UTC](https://meta.discourse.org/t/automatically-add-emails-addresses-from-company-domain-to-moderators/132793/3 "2019-11-07T13:25:20Z")

</div>

如果您真的希望用户自动成为版主，则需要一个插件。

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2019年十二月7日 13:34 UTC](https://meta.discourse.org/t/automatically-add-emails-addresses-from-company-domain-to-moderators/132793/6 "2019-12-07T13:34:03Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
