# 允许用户随时删除自己发布的无回复主题

**URL:** https://meta.discourse.org/t/allow-user-to-delete-their-own-topic-with-no-replies-at-any-time/411689
**Category:** Feature
**Created:** [2026年九月5日 00:14 UTC](https://meta.discourse.org/t/allow-user-to-delete-their-own-topic-with-no-replies-at-any-time/411689 "2026-09-05T00:14:54Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [2026年九月6日 00:46 UTC](https://meta.discourse.org/t/allow-user-to-delete-their-own-topic-with-no-replies-at-any-time/411689/12 "2026-09-06T00:46:22Z")

</div>

> [@Ed\_S](#):
>
> 不过，如果将其作为一个功能请求，说明你希望让那些没有回复的主题变得可删除，可能会更清晰一些。

我认为这里的关键区别在于此。现有的实现已经限制了普通用户只能在主题没有回复的情况下删除自己的主题：

> <https://github.com/discourse/discourse/blob/5e9779d4cd418af07a6ed01005d558eda76f2f69/lib/guardian/topic_guardian.rb#L383-L385>

因此，更具体的功能请求可以仅仅是让当前硬编码的 `24.hours` 变得可配置，同时保留现有的 `posts_count <= 1` 限制。这可以默认为 24 小时，但允许管理员选择更长的时间，或者甚至允许无限期地删除没有回复的主题。

> [@ecki](#):
>
> 这比以后处理 GDPR 诉讼要容易得多——让我们让用户拥有他们的数据主权

我认为 GDPR 并不是需要这个功能的真正原因。被遗忘权（删除权）并不是绝对的，它并不意味着论坛软件必须提供一个无限期的自助选项，让用户删除他们发布的任何内容。

现有 24 小时限制的可配置性本身似乎就是支持该功能的充分理由。

---

_[View the full topic](https://meta.discourse.org/t/allow-user-to-delete-their-own-topic-with-no-replies-at-any-time/411689)._
