# Restrict exposure of full name to certain groups

**URL:** https://meta.discourse.org/t/restrict-exposure-of-full-name-to-certain-groups/348873
**Category:** Feature
**Created:** [January 24, 2025, 6:51pm UTC](https://meta.discourse.org/t/restrict-exposure-of-full-name-to-certain-groups/348873 "2025-01-24T18:51:25Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![mdoggydog](https://avatars.discourse-cdn.com/v4/letter/m/82dd89/32.png) [@mdoggydog](https://meta.discourse.org/u/mdoggydog)
#### Post date: [February 26, 2025, 6:08pm UTC](https://meta.discourse.org/t/restrict-exposure-of-full-name-to-certain-groups/348873/2 "2025-02-26T18:08:44Z")

</div>

Follow-up: I have started working on an implementation of this. My basic approach is:

- Add a new site setting, “Full names visible to groups” (i.e., “groups to which any user’s full name is visible”).
- Add a new `can_see_full_names?` predicate to `Guardian`, which checks against the site setting.
- Replace (many) instances of `SiteSetting.enable_names` with the `can_see_full_names?` predicate.

This has been mostly straightforward — the biggest snag has been serializers not forwarding their `scope` parameters, and that has turned into its own little subproject.

---

_[View the full topic](https://meta.discourse.org/t/restrict-exposure-of-full-name-to-certain-groups/348873)._
