Allow only members of a group send personal message to another group

We have a group of users, say it groupA, and we would like only members of groupA to send a private message to another group, say it groupB.

In other words, groupB members should receive a private message only from members of groupA.

In our case, we have customers who have be awarded a membership to groupA from the admin, to allow them (exclusively) ask question via PM to a group of experts (groupB). We do not want groupB to receive PMs from anybody except groupA members. Think of it as a special feature only for these VIP members of groupA.

Is there a way to accomplish this?

Thanks for your wonderful software and project!

「いいね!」 1

This is going to require a custom plugin, I do not think there is a way to place this restriction without one.

「いいね!」 3

Alternatively, is there another technique to allow a “set” of users send PM to another group or “set” of users?

My initial question was about groups, but I was wondering about some way to utilise trust_levels, or custom fields of users (that is my notion of “set”).

My problem is that I need to allow one some users to PM some of the users (experts). I was thinking to have a post guiding the users to visit an external web site, do some integration with 3rd systems and using the Discourse RESTful API to “update” the user in order to have now the right to PM the expert user set.

Also - since my Ruby skills are zero :slight_smile: (so no hope to develop a classic plugin), another option for me to integrate would be custom JavaScript on the web site theme…

古いトピックをぶつけて申し訳ありませんが、このトピックは、同じ質問で新しいトピックを作成し始めたときに、親切に提案されました。この機能に対する需要がもっと多くないことに驚いています。グループの「誰がこのグループにメッセージを送信できますか?」ドロップダウンに表示されるオプションを拡張することで達成できるようです。

UIの問題で、ドロップダウンに多数のオプションを表示する必要があるため、実装がためらわれているのかもしれません。その場合、現在のシングルセレクトインプットの代わりに、トピックのタグ付けに使用されているものと同様のマルチセレクトインプットを使用できるかもしれません。そうすれば、グループにメッセージを送信できるすべての可能なオプションをリストする必要がなくなります。

需要がないために実装がためらわれている可能性が高いです。私の仮説的なユースケースは、「顧客サポート」グループにメッセージを送信する権限を、「顧客」グループのメンバーに、オンラインストアでの購入特典として付与することです。これは、メタでも、すべての顧客サポートをフォーラムを通じて直接処理したいという要望があった場合に役立つ可能性があります。

「いいね!」 4

私は GitHub - pfaffman/discourse-allow-pm-to-staff: Allow private messages to be sent to staff for users who could otherwise not send private messages. を持っており、あなたが求めていることの一部を実行します。UIはありません。

「いいね!」 1