Restrict who you can PM based on Groups

Hi Discourse Community!

We’re using groups and categories to restrict what users can see/which forums they can participate in. This is mostly for privacy reasons/so that people aren’t inundated with topics that do not apply to them.

However, we’ve noticed that when you @mention people, or when you private message them, you can actually tag (or reach out to) any user on the platform. With the @mention, you get a warning saying that you’re mentioning someone who doesn’t have access, which is super helpful. However, for private messages, it’s very hard to find the correct person to reach out to. Often people have very similar names/usernames, and we’ve had problems of people messaging the wrong person without realizing it.

We were wondering if you have a solution for this use case. Our idea was to restrict who you can PM, allowing only staff + people in the same groups as you. Is this possible? Is there a different/better work around?

Thank you!

3개의 좋아요

It’s not at the moment, no.

We’ve had a few requests lately to make groups ‘private’ so that only group members know who is in the group. I think that would make a lot of sense for several use cases.

Your request for limiting PMs to group members would be a natural extension of that. I’m not sure if we’ve actually road mapped this though. @jomaxro can you remember?

4개의 좋아요

I don’t believe limiting PMs to group members is on the road map at this time. Groups can be private though, simply set Who can see this group? to Group owners, members and admins.

2개의 좋아요

Yeah, I’ve mixed things up a bit here with my words. Sorry about that.
The request I’m thinking of is to make a group visible so that people know it exists, but to hide who is in it.

2개의 좋아요

For clarification, on our end, we already restrict who can see the group, by using precisely the setting that Joshua mentioned. I don’t think we care about people seeing who is in the group (since we only show groups to members/admins). But it would be vastly helpful to be able to restrict who you can message based on group memberships, because we’ve had a number of messages sent to the wrong person.

Another thing that would help here is being able to have more than 6 people show up in the dropdown so that people can scroll down and find the correct user. Dunno if that’s closer on the roadmap.

It would indeed be very useful to be able to restrict personal messaging by group.

In fact it would be most useful to be able to restrict PMs to their Primary Group (as set in the User Profile).

1개의 좋아요

Hello everyone,

We have actually solved this problem by raising markteplace request back in Aug '21 which was completed by Michael from Communiteq :heart_hands:t3: and released as a plugin open-sourced for public to use it.

It’s been several years now, and it works like a charm without maintenance.

I went ahead an posted a new Plugin topic to host & discuss additional information about this function:

5개의 좋아요

커뮤니티에서 만든 솔루션이 있다는 건 정말 좋은 일입니다. :raised_hands:

핵심 기능에 포함되길 원하는 기능이라면 사람들이 의견을 추가할 수 있도록 이 Contribute > Feature 요청은 열어두겠습니다. :+1:

최근 관리자 설정에 적용된 변경 사항과 유사한 방향으로, 그룹 설정의 해당 섹션을 ‘그룹 허용’ 스타일의 입력 필드로 만들자는 아이디어가 몇 가지 논의된 것 같습니다 - Changes coming to settings for giving access to features (from trust levels to groups)

다만 이 변경 사항이 실제로 이루어질 가능성이나, 더 많은 관심을 받게 된다면 어떤 타임라인으로 진행될지에는 확신이 없습니다.

1개의 좋아요

네, 그때 이 기능을 포함하지 않았다는 게 믿기지 않아요! 이유가 뭔지는 기억나지 않지만, ‘뉴 웨이(New Way)’™로 업그레이드할 명백한 후보입니다.

이 기능을 통해 제 사이트의 프리미엄 멤버들이 지원 DM 시스템에 접근할 수 있도록 하기를 기대하고 있습니다. 여기 호스팅 고객에게 사용되는 것과 유사하지만, 보안이 강화된 형태입니다. 저 혼자서 운영 중이라 불필요한 알림을 줄여야 합니다! :hear_no_evil_monkey:

그동안은 플러그인 옵션이 있어서 다행입니다. 테스트해 봤는데 작동합니다!