# 如何设置仅允许特定用户组向工作人员发送消息

**URL:** <https://meta.discourse.org/t/how-to-make-only-a-group-of-users-can-send-messages-to-staff/153324>\
**Category:** Product Support\
**Created:** [2020 年5 月 30 日 18:28 UTC](https://meta.discourse.org/t/how-to-make-only-a-group-of-users-can-send-messages-to-staff/153324 "2020-05-30T18:28:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
发布日期： [2020 年5 月 30 日 18:38 UTC](https://meta.discourse.org/t/how-to-make-only-a-group-of-users-can-send-messages-to-staff/153324/2 "2020-05-30T18:38:21Z")

</div>

我有一个插件，允许所有人向工作人员发送消息。应该可以将其设置为仅允许特定组发送。

目前它在 Travis 上测试失败。我不知道原因。

> **[GitHub - pfaffman/discourse-allow-pm-to-staff: Allow private messages to be sent to staff for...](https://github.com/pfaffman/discourse-allow-pm-to-staff)**
>
> Allow private messages to be sent to staff for users who could otherwise not send private messages.

---

_[View the full topic](https://meta.discourse.org/t/how-to-make-only-a-group-of-users-can-send-messages-to-staff/153324)._
