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

[Refactor]: @PermitUserRole 유저 권한 체크 로직 리팩토링 #5

Merged
merged 10 commits into from
Jan 12, 2025

Conversation

kimsh1017
Copy link
Contributor

@kimsh1017 kimsh1017 commented Jan 12, 2025

@PermitUserRole 유저 권한 체크 로직 리팩토링

변경사항

JWT token이 유저의 워크스페이스별 권한을 가지도록 리팩토링
(PermitUserRole에서 요청마다 권한을 확인하기 위해 DB를 조회하지 않아도 됨)

기타

Issue number : close #4

본문

[#?]
패키지 위치 변경
유틸 클래스 활용하도록 변경
기본 이미지 생성 로직을 이미지 서비스에서 담당하도록 변경

[#?]
UserInfo가 워크스페이스 아이디 가지도록 변경
JWTProvider에서 변경된 UserInfo대로 JWT 생성하도록 변경

[#?]
본문

[#?]
@kimsh1017 kimsh1017 self-assigned this Jan 12, 2025
본문

[#?]
@kimsh1017 kimsh1017 merged commit e5ef8ba into dev Jan 12, 2025
1 check failed
@kimsh1017 kimsh1017 deleted the refactor/4-PermitUserRole branch January 12, 2025 09:37
@kimsh1017 kimsh1017 restored the refactor/4-PermitUserRole branch January 18, 2025 15:27
@kimsh1017 kimsh1017 deleted the refactor/4-PermitUserRole branch January 18, 2025 15:55
@kimsh1017 kimsh1017 changed the title [Refactor]: @PermitUserRole 유저 권한 체크 로직 리팩토링 [Refactor]: @PermitUserRole 유저 권한 체크 로직 리팩토링 Jan 18, 2025
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.

None yet

1 participant