# 允许创建自定义旗帜，自动隐藏内容，类似于“垃圾信息”和“不适当”。

**URL:** <https://meta.discourse.org/t/allow-creation-of-custom-flags-which-auto-hide-content-similar-to-spam-and-inapproriate/329894>\
**Category:** Feature\
**Tags:** moderation\
**Created:** [2024 年10 月 8 日 15:58 UTC](https://meta.discourse.org/t/allow-creation-of-custom-flags-which-auto-hide-content-similar-to-spam-and-inapproriate/329894 "2024-10-08T15:58:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![thoka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thoka/32/115652_2.png) [@thoka](https://meta.discourse.org/u/thoka)\
发布日期： [2024 年10 月 6 日 21:54 UTC](https://meta.discourse.org/t/allow-creation-of-custom-flags-which-auto-hide-content-similar-to-spam-and-inapproriate/329894/2 "2024-10-06T21:54:47Z")

</div>

您可以通过 rails console 启用自定义审核标志的“自动隐藏”：

```plaintext
Flag.find(1001).update!(auto_action_type: true)

```

---

_[View the full topic](https://meta.discourse.org/t/allow-creation-of-custom-flags-which-auto-hide-content-similar-to-spam-and-inapproriate/329894)._
