[P2][refactor] PolicyRuntime을 settings store, policy engine, BPS limiter, IP resolver로 분리 #37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
문제
crates/portal-relay/src/policy/mod.rs의PolicyRuntime이 persisted admin settings, approval/deny/ban, IP ban, identity-IP mapping, BPS limiter, proxy header trust/client IP extraction까지 동시에 처리합니다.영향
제안 구조
완료 기준
검토 기준: 업로드된 Rust
portal-relay코드 정적 리뷰. 리뷰 환경에서는cargo check/test/clippy를 실행하지 못했습니다.검토했지만 이번 범위에서는 수용하지 않습니다. PolicyRuntime 분리는 내부 설계 개선 제안이며 현재 사용자 영향 버그로 확인되지 않았습니다. admin/session/IP/BPS 관련 실질 hardening은 PR #62에서 보강했으므로 이 구조 리팩터링 이슈는 닫습니다.