# 在用户资料上可见的隐藏群组成员身份

**URL:** <https://meta.discourse.org/t/hidden-group-memberships-visible-on-user-profiles/316500>\
**Category:** Bug\
**Tags:** groups, fixed\
**Created:** [2024 年7 月 16 日 08:15 UTC](https://meta.discourse.org/t/hidden-group-memberships-visible-on-user-profiles/316500 "2024-07-16T08:15:08Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

作者： ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
发布日期： [2024 年11 月 18 日 13:30 UTC](https://meta.discourse.org/t/hidden-group-memberships-visible-on-user-profiles/316500/14 "2024-11-18T13:30:46Z")

</div>

谢谢修复！

> <https://github.com/discourse/discourse/pull/29799>
>
> \### What is this fix?
> 
> As part of \[this fix\](https://github.com/discourse/disc…ourse/pull/27664) we changed which groups are serialized for a user, in order to fix a bug in the default group selector under user preferences.
> 
> However, we should only change this when serializing the current user. This change combines the old code-path and the new based on who is serializing.

只要我不是 [@new-new-testers](https://meta.discourse.org/groups/new-new-testers) 的成员：

 ![Screenshot_20241118_142507_Firefox](https://global.discourse-cdn.com/meta/original/4X/8/c/5/8c5ac48767bf7ddfcb6d590b2c84374ef29e53f8.jpeg)  
✔ 不显示群组

加入 [@new-new-testers](https://meta.discourse.org/groups/new-new-testers) 后，我就可以看到群组的成员了：

 ![Screenshot_20241118_142547_Firefox](https://global.discourse-cdn.com/meta/original/4X/8/0/5/805f2f1d032380846d709e83ba595c1227304280.jpeg)  
✔ 显示群组

---

_[View the full topic](https://meta.discourse.org/t/hidden-group-memberships-visible-on-user-profiles/316500)._
