How do visitors see the user directory when hide_user_profiles_from_public is enabled?

I saw that the description of hide_user_profiles_from_public was changed in UX: Correct setting description by jjaffeux · Pull Request #38110 · discourse/discourse · GitHub

It used to be:

Disable user cards, user profiles, and the user directory for anonymous users.

Now it’s:

Disable user cards and user profiles for anonymous users. Aggregated stats will still be available in the user directory.

I am curious how visitors can see the user directory while the setting is enabled. I enabled it on my forum, logged out, and tried to visit my-forum.discourse.group/u, but I couldn’t see the user directory and was redirected to the home page.

It’s a mix situation, it’s visible through the API, we don’t have a simple solution without potentially breaking other expectations. For now we preferred to clarify that it’s not an air tight protection.

1 Like