# Discourse Restrict PMs to certain Groups

**URL:** https://meta.discourse.org/t/discourse-restrict-pms-to-certain-groups/286584
**Category:** Plugin
**Created:** [November 25, 2023, 1:05pm UTC](https://meta.discourse.org/t/discourse-restrict-pms-to-certain-groups/286584 "2023-11-25T13:05:55Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![kinetiksoft](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kinetiksoft/32/229578_2.png) [@kinetiksoft](https://meta.discourse.org/u/kinetiksoft)
#### Post date: [November 25, 2023, 1:05pm UTC](https://meta.discourse.org/t/discourse-restrict-pms-to-certain-groups/286584/1 "2023-11-25T13:05:55Z")

</div>

| | | |
| --- | --- | --- |
| ℹ | Summary | Restrict public from PMing to certain groups members. Provide privilege to PM restricted groups members |
| 🛠 | Repository Link | [GitHub - communiteq/discourse-restrict-pms-to-group · GitHub](https://github.com/communiteq/discourse-restrict-pms-to-group) |
| 📖 | Install Guide | [How to install plugins in Discourse](https://meta.discourse.org/t/install-plugins-in-discourse/19157) |

> [@](#):
>
> ℹ This is a plugin developed & hosted by [Michael from Communiteq](https://meta.discourse.org/u/michaeld), initiated from #Marketplace [request](https://meta.discourse.org/t/paid-group-to-group-permissions-to-send-private-messages-to-target-group-members/198936/2). This plugin support is not defined and may meet breaking core changes anytime with undefined down-time.

In case you need to limit general audience from PMing members of certain groups, this plugin will help you achieve such task. You can also make some groups able to PM members of restricted groups.

There are two settings to become available upon plugin activation:

| Setting name | Description |
| --- | --- |
| discourse restrict pms to group enabled | Put groups you would like to wall off incoming PMs |
| discourse restrict pms privileged groups | Put groups whose members will be able to PM restricted groups |

Unprivileged users, attempting to send a PM either individually or to the group where users from `discourse restrict pms to group enabled` present will receive a blocking composer notice:

## ![Screenshot 2023-11-25 at 12.57.00@2x](https://global.discourse-cdn.com/meta/original/4X/6/7/2/672b736c5e9b6c47160c62ceb5c07eec625404f6.jpeg)

We would like to thank **Communiteq** for delivering this plugin, which has been working since mid '21 and never met breaking changes at either stable & tests-passed branches.

---

_[View the full topic](https://meta.discourse.org/t/discourse-restrict-pms-to-certain-groups/286584)._
