All users are visible in @mentions autocomplete list

I am using Discourse with specific groups assigned to categories to limit their access, we don’t want one group communicating with another. This solution is working except for the @mention autocomplete list. All users are showing up in the autocomplete list even when all the visibility settings are set to only group owners and mods, and posting settings are set to nobody across all groups.

The exception is all the Trust_Level groups. I am unable to change the Who can see this group's members? setting from Everyone. Anytime I set it to Nobody it changes back to Everyone when I nav away then back.

Is this a bug or am I missing a setting preventing the autocomplete list from populating with all users?


This comes up from time to time. There isn’t a means to hide groups of users from other users, just their group membership.

If you don’t want users to know that other users exist then you need to disable access to user profiles. I don’t think that there’s an easy way to do that.

There is this site setting allow users to hide profile, but that just allows users to hide themselves. I think you need a plugin to enable it for every user.

If there is nothing common between groups would separete forums be somekind solution?

There is this site setting enable user directory. I don’t think that also hides usernames.

If you want users not to see each other at all then you need to create separate communities. You might check out Multisite configuration with Docker

No it doesn’t. That’s why separate forums, or as you call them, communities would be the only solution. If seeing usernames is that big issue.

1 Like

I have tried disabling the user directory and also tried to hide the user profiles with no success. I can try to pitch the idea of forums/communities but, I did inherit a custom plugin from a previous employee that was apparently working at some point but is no longer. I’ve struggled to understand why it’s not working. Thank you for all the help.


Then you can ask in #dev or #marketplace