Conversation
feat: 사용자 언어 설정 API 추가 및 device-user 병합 로직 개선
관리자용 API 접근 방지
🤖 GPT PR Review결론: request-changes 요약: 파싱 실패 주요 지적지적 없음 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
사용자 언어 설정 API를 추가하고, 게스트 → 회원 전환 시 언어 병합 정책을 보완했습니다.
또한 관리자 API 접근 정책을 테스트 허용에서 차단으로 변경했습니다.
Changes
GET /api/users/languagePATCH /api/users/languageUser.languageDevice.languageX-Device-Id가 함께 전달되면Device.language도 동기화User.language가 비어 있을 때만Device.language를 1회 반영하도록 수정DeviceService에 디바이스 언어 조회/수정 로직 추가/api/admin/**permitAll/api/admin/**denyAllNote
User.language입니다.X-Device-Id기반으로Device.language를 사용합니다.