# 创建新类别时显示了错误的安全性设置

**URL:** https://meta.discourse.org/t/wrong-security-settings-shown-when-creating-a-new-category/395224
**Category:** Bug
**Created:** [2026年二月4日 22:56 UTC](https://meta.discourse.org/t/wrong-security-settings-shown-when-creating-a-new-category/395224 "2026-02-04T22:56:56Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2026年二月5日 10:44 UTC](https://meta.discourse.org/t/wrong-security-settings-shown-when-creating-a-new-category/395224/4 "2026-02-05T10:44:44Z")

</div>

感谢 @Moin - 将通过以下链接修复：

> <https://github.com/discourse/discourse/pull/37567>
>
> Two issues addressed:
> 
> 1. Require icon selection when style type is "icon" - p…reviously the new category interface allowed creating categories without an icon, unlike the old interface which required one.
> 
> https://meta.discourse.org/t/395223
> 
> 2. Reset security settings when navigating from edit to new category - the categoryVisibilityState was being reused across different categories, causing the security tab to show the previous category's settings.
> 
> https://meta.discourse.org/t/395224

---

_[View the full topic](https://meta.discourse.org/t/wrong-security-settings-shown-when-creating-a-new-category/395224)._
