Repository navigation
feat: AI 평가 파일럿 사용자 접근 제한 추가 - #492
Merged
Merged
Conversation
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.
📌 PR 개요
AI 평가 기능을 상용 환경에서 제한적으로 검증할 수 있도록 파일럿 사용자 접근 제어를 추가했습니다.
허용된 Django 사용자 ID와 관리자만 AI 평가 화면 및 API를 사용할 수 있으며, 허용 목록은 서버 환경변수로 관리합니다.
🛠 작업 내용
AI_EVALUATION_ALLOWED_USER_IDS환경변수 기반 파일럿 사용자 관리401, 미허용 사용자는403으로 차단🖼 스크린샷 (선택)
🔗 연관된 이슈
관련 이슈 없음
❓ 기타 의견
배포 전 대상 서버의
.env에 상용 DB 기준 Django 사용자 ID를 설정해야 합니다.값이 비어 있으면 관리자 외 일반 사용자는 AI 평가 기능을 사용할 수 없습니다.
검증 결과: