# 为什么管理员无法禁用帖子修订？

**URL:** <https://meta.discourse.org/t/why-post-revisions-cannot-be-disabled-for-admins/267843>\
**Category:** Support\
**Created:** [2023年六月9日 23:22 UTC](https://meta.discourse.org/t/why-post-revisions-cannot-be-disabled-for-admins/267843 "2023-06-09T23:22:13Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![PintoBean](https://avatars.discourse-cdn.com/v4/letter/p/b77776/32.png) [@PintoBean](https://meta.discourse.org/u/PintoBean)\
**Post date:** [2023年六月10日 03:38 UTC](https://meta.discourse.org/t/why-post-revisions-cannot-be-disabled-for-admins/267843/6 "2023-06-10T03:38:02Z")

</div>

您的建议确实有效。而且，这可能不是唯一的解决方案。我猜想定期运行一些数据库查询来删除帖子的修订版本也会奏效。这会有些取巧，并且每次更新都需要维护，但它很高效且不具侵入性（这是[这个](https://meta.discourse.org/t/is-there-a-way-to-remove-all-post-revisions-from-all-the-posts/70001/6)的改进版本）。

这在一定程度上是因为解决方案的简单性，让我怀疑 Discourse 是否有某种意识形态上的原因不允许管理员禁用修订版本或删除帖子历史记录。如果我拥有网站，最多只能[隐藏](https://github.com/discourse/discourse/pull/2873)帖子历史记录，不让非员工用户看到。但我不能删除或禁用历史记录。我的帖子的历史记录必须对我的员工可见，当然也必须保留在数据库中。除非我删除帖子或采取取巧的方式来操作数据库。

---

_[View the full topic](https://meta.discourse.org/t/why-post-revisions-cannot-be-disabled-for-admins/267843)._
