# 允许 TL0 向工作人员组发送消息，但不向其他成员或非工作人员发送？

**URL:** https://meta.discourse.org/t/allow-tl0-to-write-messages-to-staff-group-not-to-other-members-or-non-staff/124335
**Category:** UX
**Created:** [2019 年7 月 29 日 23:46 UTC](https://meta.discourse.org/t/allow-tl0-to-write-messages-to-staff-group-not-to-other-members-or-non-staff/124335 "2019-07-29T23:46:24Z")
**Posts on this page:** 1
**Showing post:** 15

<div class="post-metadata">

### 作者： ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### 发布日期： [2019 年9 月 18 日 15:52 UTC](https://meta.discourse.org/t/allow-tl0-to-write-messages-to-staff-group-not-to-other-members-or-non-staff/124335/15 "2019-09-18T15:52:27Z")

</div>

我开始着手处理这个问题，并发现“发送消息所需的最低信任等级”会首先在所有私聊（PM）至群组的情况下进行检查。这意味着信任等级为 0（TL0）的用户无法向设置为“接受所有人消息”的群组发送消息。但这也意味着，即使某用户是某个群组的成员，只要其信任等级低于“发送消息所需的最低信任等级”，他就无法向设置为“仅接受成员、版主和管理员消息”的群组发送消息。

我认为修复方案应该是：在向群组发送私聊时，跳过对“发送消息所需的最低信任等级”的验证。这意味着：

- 如果团队允许所有人发送私聊，那么所有人都可以发送私聊；
- 如果团队仅允许群组成员发送私聊，那么所有群组成员都可以发送私聊，无论其信任等级如何。

PR：[Ignore `min_trust_to_send_messages` setting when messaging groups by pmusaraj · Pull Request #8104 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/8104)

更新：此问题现已 [合并](https://github.com/discourse/discourse/commit/c6cfbebf1f745de349ba32ddcb1844838cede33f)。

---

_[View the full topic](https://meta.discourse.org/t/allow-tl0-to-write-messages-to-staff-group-not-to-other-members-or-non-staff/124335)._
