# 如何暂时移除用户主题的公开访问？

**URL:** <https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242>\
**Category:** Support\
**Created:** [2023年八月30日 18:58 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242 "2023-08-30T18:58:26Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![ClawdiaWolf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clawdiawolf/32/262518_2.png) [@ClawdiaWolf](https://meta.discourse.org/u/ClawdiaWolf)\
**Post date:** [2023年八月31日 02:12 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/23 "2023-08-31T02:12:44Z")

</div>

> [@rahim123](#):
>
> 是的，谢谢，我没有看到任何关于批量取消删除的信息？

你不能，至少不容易。原因如下：

你需要以下信息：

- 用户 ID
- 批量删除发生的 UTC 日期
- 每个已删除主题 OP 的帖子 ID
- 关于使用 rails 控制台和/或直接使用 psql 运行_非常高级_ SQL 查询的先进知识，因为你需要清除主题本身以及作为主题 OP 的帖子的 `deleted_at` 字段。

请不要问我为什么知道这些……

---

_[View the full topic](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242)._
