Skip to content

[Feat] 관리자 커뮤니티 관리 기능 추가#274

Merged
howooyeon merged 2 commits into
developfrom
feat/#269-admin-community
Jul 26, 2026
Merged

[Feat] 관리자 커뮤니티 관리 기능 추가#274
howooyeon merged 2 commits into
developfrom
feat/#269-admin-community

Conversation

@howooyeon

@howooyeon howooyeon commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

🧾 요약

  • 관리자가 신고된 게시글을 조회하고, 게시글/댓글을 강제 삭제하며, 사용자를 정지할 수 있는 기능 추가

🔗 이슈

✨ 변경 내용

  • User 엔티티에 suspendedUntil 필드 추가 및 Flyway 마이그레이션
  • JwtFilter에서 정지된 사용자 요청 차단 (USER_SUSPENDED 403 반환)
  • 신고된 게시글 목록 조회 API (GET /api/admin/community/reported-posts) — Interface Projection 사용
  • 게시글/댓글 강제 삭제 API (DELETE /api/admin/community/posts/{id}, comments/{id})
  • 사용자 정지/해제 API (POST/DELETE /api/admin/users/{id}/suspend)

✅ 확인

  • 빌드 OK
  • 테스트 OK

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@coderabbitai

coderabbitai Bot commented Jul 26, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. 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: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 10d6c723-0f99-4c27-bbea-2704f6e7924f

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
  • Commit unit tests in branch feat/#269-admin-community

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.

@howooyeon
howooyeon force-pushed the feat/#269-admin-community branch from 5cd883f to a1498c3 Compare July 26, 2026 16:01
@howooyeon howooyeon self-assigned this Jul 26, 2026
@howooyeon
howooyeon merged commit a22026d into develop Jul 26, 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.

[feat] 커뮤니티 관리 기능 (게시글/댓글/사용자 제재)

1 participant