# 谁能邀请新用户？我可以配置吗？

**URL:** https://meta.discourse.org/t/who-can-invite-new-users-can-i-configure-that/117243
**Category:** Support
**Tags:** invites
**Created:** [2019年五月9日 09:07 UTC](https://meta.discourse.org/t/who-can-invite-new-users-can-i-configure-that/117243 "2019-05-09T09:07:53Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![BjornW](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bjornw/32/137412_2.png) [@BjornW](https://meta.discourse.org/u/BjornW)
#### Post date: [2019年五月9日 09:07 UTC](https://meta.discourse.org/t/who-can-invite-new-users-can-i-configure-that/117243/1 "2019-05-09T09:07:53Z")

</div>

我的用户认为邀请新用户的按钮不太容易找到，但我认为这属于需要学习的内容，可以接受。

不过，有人问我谁可以邀请新用户加入论坛，我却无法回答。我在[关于信任等级的帖子](https://blog.discourse.org/2018/06/understanding-discourse-trust-levels/)中找不到相关信息，在[Moderation 指南](https://meta.discourse.org/t/discourse-moderation-guide/63116)中也找不到。我曾在我的论坛上看到过（但现在找不到）只有“受信任用户”才能邀请其他人，但没有任何地方说明什么是“受信任用户”。

[这个主题](https://meta.discourse.org/t/how-to-allows-members-to-invite-others/113231/4)澄清了需要达到信任等级 2，但并未说明是否可以对此进行配置。可以配置吗？是否仍然要求信任等级 2？

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2019年五月9日 10:31 UTC](https://meta.discourse.org/t/who-can-invite-new-users-can-i-configure-that/117243/2 "2019-05-09T10:31:54Z")

</div>

Yes, you need to be trust level 2 or staff to send invites. This isn’t configurable at the moment, so you’ll need to grant TL2 to any users who need to have this ability.

---

<div class="post-metadata">

### Author: ![gh\_irina](https://avatars.discourse-cdn.com/v4/letter/g/838e76/32.png) [@gh\_irina](https://meta.discourse.org/u/gh_irina)
#### Post date: [2020年一月25日 17:45 UTC](https://meta.discourse.org/t/who-can-invite-new-users-can-i-configure-that/117243/3 "2020-01-25T17:45:27Z")

</div>

我不明白为什么这里的“受信任用户”是指 tl2 及以上，而其他情况却是 tl3 及以上。  
能否将其调整为统一标准？（如果能做成可配置的就更好了！）

---

<div class="post-metadata">

### Author: ![Remah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/remah/32/70590_2.png) [@Remah](https://meta.discourse.org/u/Remah)
#### Post date: [2020年一月30日 19:28 UTC](https://meta.discourse.org/t/who-can-invite-new-users-can-i-configure-that/117243/4 "2020-01-30T19:28:46Z")

</div>

以下是关于此问题的独立主题链接，Discourse 团队计划在此主题中使该功能可在站点设置中进行配置：

> [@Please make tl for sending invites customisable](https://meta.discourse.org/t/please-make-tl-for-sending-invites-customisable/139828/11?u=remah):
>
> Discussed internally and we support adding 2 site setting in a PR (containing tests) min trust to allow invite min trust to allow pm invite Added #pr-welcome here in case the community want to fast track this, otherwise we will probably get to it in 2.5 or 2.6

目前已有一些有限的配置选项：

> [@How to limit invites to admins](https://meta.discourse.org/t/how-to-limit-invites-to-admins/58366/12?u=remah):
>
> Setting max\_invites\_per\_day to 0 will disable invites for all users except staff (admins and moderators). I remember making staff immune to max\_invites\_per\_day setting via:

如果连 TL2+ 级别的用户都无法创建邀请，以下是一些可能的原因：

> [@Better way for my users to invite others?](https://meta.discourse.org/t/better-way-for-my-users-to-invite-others/61665/31?u=remah):
>
> Okay let me explain when all the invites won’t work for a user. If user’s maximum invites per day is reached. (staff are immune to this limitation) If SSO enabled. If local logins are disabled. If must approve users setting enabled. (staff are immune to this limitation) If user has trust level below 2. (staff are immune to this limitation)

---

<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: [2023年十二月19日 12:03 UTC](https://meta.discourse.org/t/who-can-invite-new-users-can-i-configure-that/117243/5 "2023-12-19T12:03:23Z")

</div>



---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2023年十二月19日 12:11 UTC](https://meta.discourse.org/t/who-can-invite-new-users-can-i-configure-that/117243/6 "2023-12-19T12:11:52Z")

</div>

这正好赶上了。现在它不再依赖于信任级别了。

> <https://github.com/discourse/discourse/pull/24893>
>
> \[Meta\](https://meta.discourse.org/t/283408)
> 
> \### What is this change?
> 
> We're… changing the implementation of trust levels to use groups. Part of this is to have site settings that reference trust levels use groups instead. It converts the \`min\_trust\_level\_to\_allow\_invite \` site setting to \`invite\_allowed\_groups\`.
> 
> Nothing much of note. This is used in one place and there's no fallout.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2023年十二月19日 12:41 UTC](https://meta.discourse.org/t/who-can-invite-new-users-can-i-configure-that/117243/7 "2023-12-19T12:41:30Z")

</div>


