--- kind: CONCEPT slug: adapter-outbound-fileserver-c06 title: 거부 메시지가 역할 모델을 설명하지 않는다 topic: admission-budget-and-backpressure project: clean-architecture-backend-template status: 게시 전 sourceRevision: 21234e38cdb9a926cbc92bb97a2aee2e4a7d2916 rootTreeNode: concept:adapter-outbound-fileserver-c06 evidenceCapturedOn: 2026-09-01 assets: - key: adapter-outbound-fileserver-c06 file: ../../../final/evidence/rendered/adapter-outbound-fileserver-c06.svg evidence: - ../../../final/evidence/raw/adapter-outbound-fileserver-c06.txt source: - 원본 분석 절은 analysis/08-adapter-outbound-fileserver.md#L507 이다. module: adapter-outbound-fileserver --- # 거부 메시지가 역할 모델을 설명하지 않는다 `RoleBasedFileAccessPolicy`는 열 개 연산을 READ/WRITE/ADMIN 세 계층으로 접고, 거부 메시지는 필요한 역할도 주체의 역할도 말하지 않는다. ## 본문 `RoleBasedFileAccessPolicy`는 열 개 연산을 READ/WRITE/ADMIN 세 계층으로 접는다. 근거가 적혀 있다 — 연산별 역할 맵은 `COPY`를 주고 `CREATE`를 안 주는 조합을 허용하는데 "a copy creates a file"이므로 제한처럼 보이고 제한이 아니다. ## admin이 write를 상속하지 않는다 삭제할 수 있다는 이유로 force-delete까지 되면 감사되는 관리 평면이 일반 데이터 평면으로 도달 가능해진다. 빈 admin 역할 집합은 생성자가 거부한다("would leave the management plane unreachable rather than protected"). ## RoleBasedFileAccessPolicy 참조 위치 :::evidence key="adapter-outbound-fileserver-c06" alt="코드베이스에서 RoleBasedFileAccessPolicy 를 검색한 출력 12줄. 이 기록이 세는 참조가 그 출력에 그대로 보인다." caption="RoleBasedFileAccessPolicy 코드베이스 검색 — 12줄 · exit 0" zoom="true" ::: ## 거부 메시지가 담지 않는 것 거부 메시지는 필요한 역할도 주체의 역할도 말하지 않는다 — "a denial that reported what was missing would turn every 403 into a readable description of the role model". `LocalStorageFailures`의 어떤 메시지도 경로·마운트·루트를 담지 않고, 감사 어댑터가 쓰는 필드는 전부 지문·코드·불투명 식별자다. ## 이름 자체가 장치인 클래스 `UnenforcedFileAccessPolicy`의 설계도 기록할 만하다. 이름 자체가 장치다 — composition root가 **타입 이름으로 매치해** production startup을 거부한다. "A permissive default that looked like a real policy would ship as one."