fix(M02): 「사람 고르기」는 시스템 관리자에게만 — 회사 관리자에게는 숨김 (PLAN 29-2 뒷손질)

- 회사 관리자의 남의 개인 층 읽기 길(해시 owner · 서버 권한)은 그대로
- 시험 한 줄 맞춤

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-30 17:47:30 +09:00
co-authored by Claude Opus 5.5
parent b315181246
commit d17ede799d
2 changed files with 6 additions and 4 deletions
+4 -1
View File
@@ -129,7 +129,10 @@ def test_층_단추_셋_사람_고르기():
roots = _text(M02 / "M02_MasterTemplete_TreePanel_Roots.ts")
assert 'fetchOwners("company")' not in roots # 회사 목록 펼침 없앰
assert 'fetchOwners("personal", opt.company)' in roots
assert "if (companyAdmin && opt.company) row.append(buildPeople(opt)); // 같은 줄" in roots
assert (
"if (isSystem && opt.company) row.append(buildPeople(opt)); // 같은 줄 · 시스템 관리자만"
in roots
)
assert 'if (select.value) opt.go("personal", select.value);' in roots
panel = _text(M02 / "M02_MasterTemplete_TreePanel.ts")
assert (