Skip to content

test: 내부 챗봇 사용자별 Knowledge 권한 및 비노출 검증 - #429

Merged
HyungminYoon1 merged 2 commits into
devfrom
feature/mba-238
Jul 14, 2026
Merged

test: 내부 챗봇 사용자별 Knowledge 권한 및 비노출 검증#429
HyungminYoon1 merged 2 commits into
devfrom
feature/mba-238

Conversation

@HyungminYoon1

Copy link
Copy Markdown
Contributor

변경 사항

  • 인증 내부 챗봇 요청에서 user_id, organization_id, execution_subject top-level 주입을 422로 거부하는 API 테스트를 추가했습니다.
  • 사용자 입력에 동명 필드가 있더라도 Gateway가 만든 current-user execution context를 덮어쓰지 못하는지 검증했습니다.
  • 실제 PostgreSQL production candidate adapter에서 조직 A/B, 개발팀·기획팀, user-direct, 무권한 사용자 매트릭스를 검증했습니다.
  • production resolver 결과만 LLM retrieval fan-out에 전달되고 후보가 0개이면 embedding, retrieval, LLM provider를 모두 건너뛰는지 확인했습니다.
  • 거부된 KB/Collection 식별자와 marker가 응답·trace에 노출되지 않고, 기존 audit/log bucket 계약이 유지되는지 확인했습니다.
  • Knowledge, Workflow, Chatbot Deployment 테스트 계약 문서를 갱신했습니다.
  • 새 통합 테스트에서 제품 코드 계약 위반은 재현되지 않아 production 코드는 변경하지 않았습니다.

관련 이슈

Closes #375

변경 유형

  • 버그 수정
  • 새로운 기능
  • 리팩토링
  • 문서 수정
  • 기타: 보안·권한 통합 테스트

테스트

  • 로컬에서 테스트 완료
  • 기존 테스트 통과 확인

검증 결과:

  • Gateway 인증 실행 경계: 5 passed
  • Workflow LLM node 및 candidate adapter: 14 passed
  • disposable PostgreSQL Knowledge snapshot 모듈: 11 passed
  • 변경 Python 파일 compile check: passed
  • git diff --check: passed

전체 repository 회귀와 browser/broker canary는 production code를 변경하지 않았고 직접 변경 경계가 아니므로 실행하지 않았습니다. MBA-239 demo seed와 MBA-245 관리자 audit 조회 E2E는 후속 이슈 범위입니다.

스크린샷 (UI 변경 시)

해당 없음

@linear-code

linear-code Bot commented Jul 14, 2026

Copy link
Copy Markdown

MBA-238

@HyungminYoon1

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Something went wrong. Try again later by commenting “@codex review”.

Unknown error
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@HyungminYoon1

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 6d91df315a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@HyungminYoon1
HyungminYoon1 marked this pull request as ready for review July 14, 2026 07:50
@HyungminYoon1
HyungminYoon1 merged commit 38394f5 into dev Jul 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[QA/Security/RAG] 내부 챗봇 사용자별 KB 권한 및 정보 비노출 E2E 검증

1 participant