Skip to content

[518] mongo policy 반복/즉시/관리자 mongo db 로그 생성#209

Merged
Misu0616 merged 5 commits into
devfrom
feat/518-mongo-policy-misu
Mar 13, 2026
Merged

[518] mongo policy 반복/즉시/관리자 mongo db 로그 생성#209
Misu0616 merged 5 commits into
devfrom
feat/518-mongo-policy-misu

Conversation

@Misu0616
Copy link
Copy Markdown
Contributor

@Misu0616 Misu0616 commented Mar 12, 2026

개요

  1. 반복/즉시 차단 데이터 등록, 수정, 삭제 시 mongo db에 해당 데이터 적재

    • policy_history 하위에 저장
  2. 관리자의 정책/카테고리 등록, 수정, 삭제 시 mongo db에 해당 데이터 적재

  • admin_history 하위에 저장
  • lineId는 없어서 로그에 포함 x
  1. UserServiceImpl의 getAppliedPolicies 메소드 수정
  • 공유/개인 데이터 제한, 앱데이터 제한 목록 조회 추가
  1. 기타
  • mongo db에 적재된 데이터는 아래 notion 양식 참고
    https://www.notion.so/yerin1412/31a389b3e0398015a26bc17898eb02e3
  • update할 때 일부 컬럼만 변경되었다면 변경되지 않은 컬럼은 after로 null을 반환
  • mongo db에 반영 위해 updateAt가 없는 dto에 해당 변수 추가
  • mongo db를 위한 service, entity, repository 파일 추가 생성

관련 BackLog

Resolves: (518)

PR 유형

  • 새로운 기능 추가
  • 버그 수정
  • CSS 등 사용자 UI 디자인 변경
  • 코드에 영향을 주지 않는 변경사항(오타 수정, 탭 사이즈 변경, 변수명 변경)
  • 코드 리팩토링
  • 주석 추가 및 수정
  • 문서 수정
  • 테스트 추가, 테스트 리팩토링
  • 빌드 부분 혹은 패키지 매니저 수정
  • 파일 혹은 폴더명 수정
  • 파일 혹은 폴더 삭제

PR Checklist

  • 커밋 메시지 컨벤션에 맞게 작성했습니다.
  • 변경 사항에 대한 테스트를 했습니다.(버그 수정/기능에 대한 테스트).

@Misu0616 Misu0616 requested review from Iwantcod and pjh813 March 12, 2026 21:29
@Misu0616 Misu0616 self-assigned this Mar 12, 2026
@Misu0616 Misu0616 added the feature 새 기능 개발 label Mar 12, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 12, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: fcc8c13a-f71a-47e2-8617-8663d28834fd

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/518-mongo-policy-misu
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can enforce grammar and style rules using `languagetool`.

Configure the reviews.tools.languagetool setting to enable/disable rules and categories. Refer to the LanguageTool Community to learn more.

@Misu0616 Misu0616 changed the title [518] mongo policy 반복/즉시/관리자 로그 생성 [518] mongo policy 반복/즉시/관리자 mongo db 로그 생성 Mar 12, 2026
@Misu0616 Misu0616 merged commit 27fdcf5 into dev Mar 13, 2026
3 checks passed
@Misu0616 Misu0616 deleted the feat/518-mongo-policy-misu branch March 17, 2026 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature 새 기능 개발

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants