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 #79 user role 책임 이전 #79

Open
hyxklee opened this issue Nov 27, 2024 · 0 comments
Open

Refactor #79 user role 책임 이전 #79

hyxklee opened this issue Nov 27, 2024 · 0 comments
Assignees
Labels

Comments

@hyxklee
Copy link
Member

hyxklee commented Nov 27, 2024

🚨 무슨 이유로 코드를 바꾸나요?

  • 기존 jwt filter에서 user를 DB에서 조회해서 권한을 확인하는 부분이 비효율적이라 생각해 JWT로 이전할 계획입니다

💭 어떻게 수정할 건가요?

  • user를 DB에서 조회하지 않고, jwt accessToken에 role을 담아 매 요청시 응답 속도 개선을 기대합니다

@hyxklee hyxklee self-assigned this Nov 27, 2024
@hyxklee hyxklee changed the title Refactor #79 Refactor #79 user role 책임 이전 Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant