dy-dashboard/vault/知识库/工作指南/训练记录/2026-09-24-汤定毅超级管理员权限修复.md
2026-10-28 11:14:17 +08:00

10 lines
782 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 2026-09-24 汤定毅超级管理员权限修复
### 1. 超级管理员无法编辑其他成品权限
**旭东 → OpenClaw:**
> 还发现一个异常,超级管理员汤定毅的账号,无法调整其他成品的权限,提示权限不足,仅超级管理员可以编辑用户。
**OpenClaw 响应:**
已核对测试环境账号与用户编辑权限逻辑:汤定毅账号原角色实际为 `admin`,而用户编辑接口要求当前会话角色必须为 `super_admin`,因此前端和后端均提示权限不足。按确认结果将测试环境汤定毅账号角色调整为 `super_admin`,重启测试服务后,用户编辑接口验证返回“更新成功”;测试服务状态 active,本机和局域网地址 HTTP 200。未操作云端和生产环境。