# 如何关闭论坛，除了工作人员

**URL:** <https://meta.discourse.org/t/how-to-turn-off-forum-except-for-staff/302832>\
**Category:** Support\
**Created:** [2024年四月8日 06:14 UTC](https://meta.discourse.org/t/how-to-turn-off-forum-except-for-staff/302832 "2024-04-08T06:14:20Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2024年四月8日 10:14 UTC](https://meta.discourse.org/t/how-to-turn-off-forum-except-for-staff/302832/6 "2024-04-08T10:14:27Z")

</div>

我最近也在考虑类似的问题 -

步骤是

- ~~启用仅限员工写入模式 [Read Only Modes in Discourse](https://meta.discourse.org/t/read-only-modes-in-discourse/296976)~~
- 在管理员设置中启用“需要登录”
- [Logout all users through the rails console](https://meta.discourse.org/t/logout-all-users-through-the-rails-console/93239)
- 禁用“启用本地登录”（以及任何 SSO）。
- 使用 `/u/admin` 以管理员身份登录

---

_[View the full topic](https://meta.discourse.org/t/how-to-turn-off-forum-except-for-staff/302832)._
