完善角色与消息权限:收紧板管内容处置,彻底删除仅站长,并统一管理删帖/评弹窗。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-20 14:30:08 +08:00
parent 1f2e4b2a33
commit c0462a3500
37 changed files with 1340 additions and 472 deletions

View File

@@ -12,6 +12,8 @@ import (
var (
ErrModerationForbidden = errors.New("无权审核该板块的内容")
ErrNotPending = errors.New("该内容不在待审核状态")
ErrAuthorProtected = errors.New("无权处置该作者的内容")
ErrPurgeOwnerOnly = errors.New("仅站长可彻底删除")
)
// ModerationService 帖子/评论审核队列