# Limiting @mentions to groups

**URL:** <https://meta.discourse.org/t/limiting-mentions-to-groups/72465>\
**Category:** Product Support\
**Created:** [Octobre 20, 2017, 12:44 UTC](https://meta.discourse.org/t/limiting-mentions-to-groups/72465 "2017-10-20T12:44:33Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)\
**Post date:** [Octobre 20, 2017, 3:32 UTC](https://meta.discourse.org/t/limiting-mentions-to-groups/72465/10 "2017-10-20T15:32:14Z")

</div>

Well, they are different things, those are mentions per user, not group.  
User A is able to “see” user D even if he does not know that user D belongs to another group, whether he has written post or open topic (and viceversa), until user A goes to the profile of user D.

What you want is a feature request.

In your case, would you like to disable the mentions per user and set it so that only members of the same group can “see” each other? Or at least completly disable all mentions?

Theoretically speaking:

- the first thing is to modify the site setting `enable user directory` so your user can’t see the page `/users` and the personal profile page of other users. I do not know if the setting is retroactive for those users who already subscribe to the forum (but it is a solvable problem) and enable `hide user profiles from public`

- then, ideally, you need to modify the site setting `max mentions per post` and set it to 0. Actually it doesn’t work, but you can ask the discourse team to improve this site setting, and when it is set to 0 the auto-complete don’t appears. If the team is interested and, secondarily, receiving requests from many other users they could also implement it.

- the last solution I can think of is that you write a plugin or pay some developer to write it to your place by making a request on the marketplace or buy a hosted enterprise plan from discourse (in this case they can do some implementation for your site, I think, but not 100% sure).

---

_[View the full topic](https://meta.discourse.org/t/limiting-mentions-to-groups/72465)._
