# 如何从控制台取消暂停用户

**URL:** <https://meta.discourse.org/t/how-to-unsuspend-a-user-from-the-console/172330>\
**Category:** Support\
**Created:** [2020年十二月5日 15:51 UTC](https://meta.discourse.org/t/how-to-unsuspend-a-user-from-the-console/172330 "2020-12-05T15:51:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Little\_Joe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/little_joe/32/158459_2.png) [@Little\_Joe](https://meta.discourse.org/u/Little_Joe)\
**Post date:** [2020年十二月5日 15:51 UTC](https://meta.discourse.org/t/how-to-unsuspend-a-user-from-the-console/172330/1 "2020-12-05T15:51:52Z")

</div>

那么，基本上，我该如何从控制台解除对某人的封禁呢？

---

<div class="post-metadata">

**Author:** ![JimPas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimpas/32/148179_2.png) [@JimPas](https://meta.discourse.org/u/JimPas)\
**Post date:** [2020年十二月5日 22:49 UTC](https://meta.discourse.org/t/how-to-unsuspend-a-user-from-the-console/172330/3 "2020-12-05T22:49:00Z")

</div>

您是在说仪表盘吗？如果是，请前往 `Admin/users`，点击您想解除封禁的用户，向下滚动到显示“已封禁？”的位置（就在信任等级下方），然后点击右侧的按钮。

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2020年十二月5日 23:14 UTC](https://meta.discourse.org/t/how-to-unsuspend-a-user-from-the-console/172330/4 "2020-12-05T23:14:13Z")

</div>

如果你指的是 Rails 控制台，我想可能只需修改记录中的某个字段并保存即可。不过，你也可以查看用户模型，确认是否有现成的函数来实现该操作。

有一个关于批量操作的主题，或许能提供线索。
