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

[Fix] : 준비됐지 임전윤채 #848 #850

Merged
merged 4 commits into from
Feb 14, 2024

Conversation

wochae
Copy link
Collaborator

@wochae wochae commented Feb 12, 2024

물론이지 호주청정우

변경 사항

컨트롤러에서 토큰을 사용하지 않아 추가.
조건에 부합되는 ( 모집 완료가 아닌, 팀 승인을 받은 멤버가 자신 제외 존재하지 않는 경우 )
그가 속한 해당 팀에 관련된 데이터베이스 연관 테이블 또한 삭제하도록 수정.
( 팀-유저, 팀-역할 ), 그 뒤로 모집글을 삭제.

지금은 작성자만 권한 부여.
편집 요청과 같이 AuthorCheck 사용
대신 작성자가 아닌 회원이 삭제 요청할 때
게시글 작성자만 수정할 수 있습니다. 라는 메시지 반환




테스트 결과

물론이지 호주정우
@sinryuji
Copy link
Collaborator

🎉 @sinryuji 님 랜덤 리뷰어로 당첨되셨습니다! 리뷰를 부탁드립니다. 🙏

@sinryuji sinryuji self-requested a review February 12, 2024 11:41
@wochae
Copy link
Collaborator Author

wochae commented Feb 12, 2024

편집과 같은 작성자 권한으로 실행

유저, 삭제 메서드 호출 관련 예외 처리
@wochae wochae self-assigned this Feb 12, 2024
Copy link

sonarcloud bot commented Feb 14, 2024

@wochae wochae merged commit e6c0c36 into release-1.0.3 Feb 14, 2024
4 checks 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.

2 participants