Skip to content

[Feat] 유저 프로필 조회 시 이메일 추가#138

Merged
pooreumjung merged 1 commit into
developfrom
feat/#137-user-profile-email
May 27, 2026
Merged

[Feat] 유저 프로필 조회 시 이메일 추가#138
pooreumjung merged 1 commit into
developfrom
feat/#137-user-profile-email

Conversation

@pooreumjung

Copy link
Copy Markdown
Member

🧾 요약

  • 유저 프로필 조회 시 이메일 추가

🔗 이슈

✨ 변경 내용

✅ 확인

  • 빌드 OK
  • 테스트 OK

@pooreumjung pooreumjung self-assigned this May 27, 2026
@pooreumjung pooreumjung added the enhancement New feature or request label May 27, 2026
@coderabbitai

coderabbitai Bot commented May 27, 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: da17180d-7102-48f1-8020-e99866f5bf16

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/#137-user-profile-email

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

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

본 PR은 유저 프로필 조회 API 응답 데이터에 사용자의 이메일 정보를 포함하기 위해 DTO를 수정하는 작업입니다. 이를 통해 클라이언트가 프로필 조회 시 이메일 정보를 확인할 수 있게 됩니다.

Highlights

  • 유저 프로필 응답 DTO 수정: GetUserProfileResponse DTO에 email 필드를 추가하여 프로필 조회 시 이메일 정보를 포함하도록 변경했습니다.
New Features

🧠 You can now enable Memory (public preview) to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@pooreumjung
pooreumjung merged commit 1a3d651 into develop May 27, 2026
3 checks passed

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

이번 풀 리퀘스트는 GetUserProfileResponse DTO에 사용자 이메일 필드를 추가하는 변경 사항을 포함하고 있습니다. 리뷰어는 이메일과 같은 민감한 개인정보가 API 응답에 포함될 때 발생할 수 있는 보안 취약점(예: 타인 프로필 조회 시 정보 노출)을 지적하며, 필요시 공개용 프로필 DTO를 분리할 것을 권장하고 있습니다.

ExerciseType exerciseType,
LocalDate birthDate
LocalDate birthDate,
String email

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

사용자 프로필 조회 응답에 이메일이 추가되었습니다. 이메일은 개인정보에 해당하므로 API 응답에 포함될 때 주의가 필요합니다.

GetUserProfileResponse DTO가 오직 인증된 사용자 본인의 정보를 조회하는 경우에만 사용된다면 문제가 없지만, 만약 다른 사용자의 프로필을 조회하는 데에도 사용된다면 개인정보가 노출될 수 있는 보안 취약점이 될 수 있습니다.

이 응답이 다른 사용자에게 노출될 가능성이 있다면, 이메일 필드를 제거하거나 다른 사용자를 위한 별도의 공개용 프로필 DTO를 만드는 것을 고려해 주세요. 예를 들어, GetPublicUserProfileResponse 와 같이 민감한 정보를 제외한 DTO를 분리하는 것이 좋은 방법이 될 수 있습니다.

@howooyeon
howooyeon deleted the feat/#137-user-profile-email branch May 29, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] 유저 프로필 조회 시 이메일 추가

1 participant