# Allow sending Private Messages to Staff

**URL:** <https://meta.discourse.org/t/allow-sending-private-messages-to-staff/75366>\
**Category:** Feature\
**Created:** [Décembre 4, 2017, 8:00 UTC](https://meta.discourse.org/t/allow-sending-private-messages-to-staff/75366 "2017-12-04T20:00:58Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
**Post date:** [Décembre 6, 2017, 1:57 UTC](https://meta.discourse.org/t/allow-sending-private-messages-to-staff/75366/9 "2017-12-06T01:57:28Z")

</div>

> [@pfaffman](#):
>
> private messages are enabled (and they’re not for this site, which is what I’m trying to solve)

Ah, I had assumed you were going to keep the site setting on. That change in logic makes a bit more sense now 🙂

However, I think you may want to keep the site setting on and restrict pms just via the guardian though. If the site setting is off this will also:

1. Disable message-related elements in the UI, specifically [the messages icon in the user menu will not appear](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/widgets/user-menu.js.es6#L43) and the [private messages button will not appear in the user profile](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/controllers/user.js.es6#L45).

2. Prevent the user from taking the `notify_user` and `notify_moderator` post actions ([see here](https://github.com/discourse/discourse/blob/1f14350220b4df9ee0bdc3c6bf1e7794b7c494fc/lib/guardian/post_guardian.rb#L19)). These post actions require private messages.

And there may be more instances of that setting being used to disable functionality in the future.

If I’m reading you right, your case is one of permissions, not one of functionality? You still want the functionality, just a restricted version of it.

_edit_: re-reading your first post, maybe you do want to disable the functionality entirely! Well at least we thought this through.

---

_[View the full topic](https://meta.discourse.org/t/allow-sending-private-messages-to-staff/75366)._
