Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Implement account deactivation using Kakao unlink #114

Merged
merged 7 commits into from
Feb 25, 2025
Merged

Conversation

rlooo
Copy link
Contributor

@rlooo rlooo commented Feb 16, 2025

image 디비에서 바로 삭제하는 것이 아닌 soft 삭제를 이용하여 isDeleted로 탈퇴회원을 구분하도록 구현하였습니다. 추후 탈퇴 정책을 정의하여 배치를 돌려 주기적으로 삭제하도록 작업할 예정입니다.

Copy link

[BE] 탈퇴하기

@chsjen492
Copy link
Member

탈퇴한 회원이 재가입할 경우는 어떻게 되나요? 이 부분은 따로 없는 것 같아서요!

@rlooo
Copy link
Contributor Author

rlooo commented Feb 16, 2025

탈퇴한 회원이 재가입할 경우는 어떻게 되나요? 이 부분은 따로 없는 것 같아서요!

탈퇴한 회원이 재가입할 때, 기존의 isDeleted 플래그를 false로 변경하도록 처리하는 부분 추가하였습니다

laggu
laggu previously approved these changes Feb 17, 2025
@laggu
Copy link
Member

laggu commented Feb 17, 2025

탈퇴할때 해당 유저가 작성한 schedule 과 event 를 어떻게 할건지 정책이 필요합니다

@laggu
Copy link
Member

laggu commented Feb 19, 2025

conflict 났어요

@@ -8,6 +8,14 @@ export class UnknownUserError extends APIError {
}
}

export class DeletedUserError extends APIError {
constructor(cause: Error | string = null) {
super(404, 4100, 'deleted user error', cause)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
super(404, 4100, 'deleted user error', cause)
super(404, 4101, 'deleted user error', cause)

@rlooo
Copy link
Contributor Author

rlooo commented Feb 25, 2025

탈퇴할때 해당 유저가 작성한 schedule 과 event 를 어떻게 할건지 정책이 필요합니다

추후 탈퇴 정책 정의 및 작업할 때 함께 진행하겠습니다.

@rlooo rlooo force-pushed the FIENMEE-100 branch 2 times, most recently from d7233b7 to ae1b73f Compare February 25, 2025 14:47
@rlooo rlooo merged commit f2a23bc into develop Feb 25, 2025
2 checks passed
@laggu laggu deleted the FIENMEE-100 branch February 25, 2025 14:53
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.

3 participants