# 暂停后将管理权授予用户显示取消暂停选项，但取消暂停时返回错误

**URL:** https://meta.discourse.org/t/suspending-then-giving-moderation-to-the-user-shows-the-unsuspend-option-but-unsuspending-returns-an-error/385786
**Category:** Bug
**Tags:** fixed
**Created:** [2025 年10 月 16 日 03:21 UTC](https://meta.discourse.org/t/suspending-then-giving-moderation-to-the-user-shows-the-unsuspend-option-but-unsuspending-returns-an-error/385786 "2025-10-16T03:21:27Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### 作者： ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### 发布日期： [2025 年10 月 16 日 17:06 UTC](https://meta.discourse.org/t/suspending-then-giving-moderation-to-the-user-shows-the-unsuspend-option-but-unsuspending-returns-an-error/385786/3 "2025-10-16T17:06:12Z")

</div>

感谢 @twofoursixeight 的报告

> <https://github.com/discourse/discourse/pull/35452>
>
> If, for some reasons, you were to try to "unsuspend" a moderator, you wouldn't b…e able to because the "can\_suspend" was checking for "user.regular?".
> 
> Added a "can\_unsuspend?" to support this use-case.
> 
> Ref - https://meta.discourse.org/t/-/385786

---

_[View the full topic](https://meta.discourse.org/t/suspending-then-giving-moderation-to-the-user-shows-the-unsuspend-option-but-unsuspending-returns-an-error/385786)._
