# 上传图片时，flair 会让群组对所有人可见的警告不起作用

**URL:** https://meta.discourse.org/t/warning-that-flair-will-make-group-visible-for-everyone-doesnt-work-for-image-uploads/385552
**Category:** Bug
**Tags:** group-flair
**Created:** [2025年十月14日 13:56 UTC](https://meta.discourse.org/t/warning-that-flair-will-make-group-visible-for-everyone-doesnt-work-for-image-uploads/385552 "2025-10-14T13:56:17Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2025年十月14日 13:56 UTC](https://meta.discourse.org/t/warning-that-flair-will-make-group-visible-for-everyone-doesnt-work-for-image-uploads/385552/1 "2025-10-14T13:56:17Z")

</div>

当您为不向所有人公开的群组配置头像装饰时，会显示一条警告，告知员工此操作将使群组可见：

> 由于此群组的成员拥有装饰，因此“TestGroup”的名称将对任何人可见。

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/9/9/b99849749dbc73737f9edbfcb99ccde6c61d4d61.png)

但是，当您上传图片而不是使用图标时，此警告不再显示。

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/8/9/989dbc37fb17b0b7ba9366db0460656ce877d336.png)

我认为在这种情况下也应该显示警告。

> <https://github.com/discourse/discourse/blob/effe1c98f7bf19f042eab8d1f9608ee93534e360/app/assets/javascripts/discourse/app/components/group-manage-save-button.gjs#L33-L47>

但不知何故，对于图片上传，`hasFlair` 似乎为 false。所以这可能出了问题。

> <https://github.com/discourse/discourse/blob/effe1c98f7bf19f042eab8d1f9608ee93534e360/app/assets/javascripts/discourse/app/components/group-manage-save-button.gjs#L21-L21>

  

我也想知道为什么在创建新群组时不会显示此警告。

---

_[View the full topic](https://meta.discourse.org/t/warning-that-flair-will-make-group-visible-for-everyone-doesnt-work-for-image-uploads/385552)._
