refactor(5-1): 층 쓰기 권한 판단 한 벌 — M02_Layer_Access.can_write · 거울 시험

- M02_Layer_Access 에 can_write(session, here) 더함(옛 Library_Delete.can_write 몸 옮김)
- Library_Delete.can_write = access.can_write 별칭 · Library_Same_Router._can_write 는 access.can_write 부름(옛 이름 걷음은 5-8)
- 새 거울 시험 test_858_1_access_mirror — 화면 accessFor ↔ 서버 can_write · grant 409 · 88 갈래 같음
- M02_MasterTemplete_Layer.ts 머리 글 한 줄(짝 시험 자리 · 코드 불변)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 19:04:01 +09:00
co-authored by Claude Opus 5.5
parent 0e8319ef6b
commit e13c23c4e3
5 changed files with 104 additions and 11 deletions
@@ -4,6 +4,7 @@
* `#/m02-master-template?open=구조물조합|옵션|도면|일위대가조합|단가산출&root=master|company|personal&owner=…&company=…&pre=…`
* (옛 `?layer=` 도 root 로 읽음 · `pre` = 일위대가 사전조합 층 · 134-3) · 고칠 권한(`accessFor` — 서버 `M02_Layer_Access` 와 짝 · 27-1c) ·
* 회사 없음 안내 · 회사용 읽기만일 때 [개인용 복사] 막대.
* 짝 거울 시험 = `resources/tester/test_858_1_access_mirror.py`(`accessFor` ↔ 서버 `can_write` · `grant` 409).
* ========================================================================== */
import { ROUTES } from "@config/config_frontend";