Files
zyt/identity-admin/.test-runtime/kefu-central-regression.log
T
2026-11-11 14:22:02 +08:00

52 lines
4.1 KiB
Plaintext
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.
▶ 新公司部门和菜单通过真实 HTTP 独立持久化并隔离医院目录
✔ context 明确区分医院与新公司的结构权限,管理不依赖应用任职 (801.5088ms)
✔ 部门支持空顶级 CRUD、父子约束和公司/种类/历史 ID 隔离 (4821.4909ms)
✔ 菜单 M/C/A、公司权限前缀、父子树与跨种类节点均受约束 (11361.3308ms)
✔ 显式 owner 与源 root 双重条件、公司及祖先状态和任职分离 (12093.6639ms)
✔ Header、body、query 与未知字段无法切换或污染公司范围 (3974.2974ms)
✔ 同一临时 SQLite 跨服务重启保留结构,医院 company1 继续走源 API (1837.1196ms)
✔ 集团关闭后带新公司 Header 的请求不会回退到医院目录 (1002.8472ms)
✔ 新公司部门和菜单通过真实 HTTP 独立持久化并隔离医院目录 (36744.411ms)
PASS company-structure: 600 checks; isolated source, sessions, group SQLite only.
✔ 公司本地部门菜单CRUD、隔离授权、树规则、医院代理与事务审计 (8310.7823ms)
✔ 集团 HTTP 范围与一次性登录流程使用隔离身份源 (2922.7013ms)
PASS group-write-through: 45 checks; actual central services, isolated source transport and temporary stores.
✔ 集团密码与角色写穿原系统、旧会话/SSO 拒绝及公司边界 (4402.1482ms)
PASS kefu catalog: 171 checks; synthetic company SQLite only.
✔ 客服完整目录导入不授予角色、不污染医院,重复导入保留自定义且失败回滚 (647.1457ms)
✔ 客服配置、资源绑定与60秒授权码使用临时SQLite,禁止加载真实.env (659.3427ms)
✔ 客服HTTP登录只证明源身份,空医院权限可进客服且不能继承管理员权限 (10648.1886ms)
PASS role-access: 77 checks; temporary SQLite and synthetic profiles only.
✔ 源角色显式跨公司授权、多角色并集、撤权即时生效及安全菜单投影 (961.2167ms)
PASS role-driven-bridge: 54 isolated service checks
✔ 跨公司角色授权桥接保持源权限、ID隔离和失败收回 (1686.7142ms)
✔ 真实HTTP通过全局角色目录授予跨公司菜单,任职不构成授权 (1943.3829ms)
▶ shared mode uses an isolated original-API fixture
✔ health advertises shared mode and refuses old demo or missing sessions (143.6859ms)
✔ original case-sensitive login produces independent sessions and forces terminal=1 (234.167ms)
✔ root navigation contains exactly the four local module projections (82.9764ms)
✔ the four management lists map live source fields and options retain disabled grants (255.7272ms)
✔ keyword and disabled filters apply before local pagination when the source ignores them (258.5162ms)
✔ every write is denied before the permissive source when original permission is absent (726.6894ms)
✔ department permission aliases authorize only the granted original operation (223.8436ms)
✔ editing a user merges fresh original detail and preserves all hidden doctor fields (102.7952ms)
✔ editing a source menu preserves relative paths, unknown components and hidden routing values (118.994ms)
✔ role edits preserve data_scope when omitted, pass empty grants, and reject unsupported disable=1 (294.0156ms)
✔ unknown operations are 404 even when the original API would default-allow them (870.8432ms)
✔ source revocation is checked on every request and invalidates the bridge (1257.1497ms)
✔ first-password gate allows profile, password and logout while rejecting management (2309.3664ms)
✔ WeCom binding gate stays active and directs users to the original login (1137.9718ms)
✔ logout revokes both original and current bridge sessions and leaves another login valid (789.6866ms)
✔ normal password changes use the atomic original endpoint and revoke all sessions (1271.7678ms)
✔ source validation and permission envelope codes map to 422 and 403 (798.417ms)
✔ non-JSON, invalid protocol, redirects and network failures return sanitized 502 (627.1526ms)
✔ shared mode uses an isolated original-API fixture (12116.7447ms)
ℹ tests 36
ℹ suites 0
ℹ pass 36
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 37153.5105