Repository navigation
Conversation
WMC001
requested review from
Dallas98,
Jasonxia007,
YehongPan,
hhhhsc701 and
jeffwu-1999
as code owners
November 11, 2026 02:38
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动内容
OPS。仅有OPS的用户可访问本租户的运维看板和系统配置,并只读查看资源管理。超级管理员SU可跨租户使用运维功能。user_account_t.user_roles。兼容接口的单值role从角色集合计算,role_permission_t.user_role继续表示权限归属。通过一份迁移v2.9.0_010_account_and_ops_roles.sql完成账号和邀请码角色回填、旧账号角色列删除、SPEED退役及运维权限初始化。验证结果
c32326ca3的全量 UT 共 23,843 项,23,811 项通过、0 项失败、32 项跳过。前端类型检查及主镜像 amd64、arm64 构建通过。全量 UT 日志AUTH-MULTI-ROLE-D4-001使用前端生产构建和隔离 PostgreSQL 验证。人工验收清单
OPS角色的账号登录,确认可见运维看板、系统配置和资源管理,且资源管理只读。使用SU切换租户,确认可以查看和操作目标租户的运维功能。DEV和OPS,确认两种角色的权限均可使用。在用户会话仍有效时移除OPS,确认运维权限收回。