All users are visible in @mentions autocomplete list

AI-generated summary

The issue at hand is that all users are visible in the @mentions autocomplete list in a Discourse setup with specific groups assigned to categories and restricted access. MattDz3 has tried adjusting visibility and posting settings, but to no avail.

MattDz3 is also unable to change the “Who can see this group’s members?” setting from “Everyone” to “Nobody” for Trust_Level groups. pfaffman suggests that this is not a bug, but rather a limitation of the platform, which only allows hiding group membership, not users themselves.

pfaffman recommends disabling user profile access or creating separate communities to prevent users from seeing each other. Jagster also suggests separate forums as a solution. MattDz3 has tried disabling the user directory and hiding user profiles, but with no success.

MattDz3 has inherited a custom plugin that was previously working but is now failing. pfaffman recommends seeking help in the Development or Marketplace channels to resolve the plugin issue.

Hello,
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?

Thanks!
Matt

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.

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.

Plugin

Then you can ask in Development or Marketplace