-
Notifications
You must be signed in to change notification settings - Fork 3
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: API 접근 권한 설정 #21
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**.pem 추가
- application.yml - deploy.sh
- 주석 처리 시 MemberServiceTest failed
[before] Member 엔티티 [after] UserDetails 인증 객체
- role = admin 이면 ROLE_ADMIN - role = member 이면 ROLE_MEMBER
[before] 일반회원={ROLE_MEMBER}, 관리자={ROLE_MEMBER,ROLE_ADMIN} [after] 일반회원={ROLE_MEMBER}, 관리자={ROLE_ADMIN}
[before] 모든 role 이 다 auth 클레임에 들어감 [after] 회원이 해당하는 role 만 auth 클레임에 들어감
- swagger 에 접근 가능한 권한 명시함 - 접근 권한은 추후 쉽게 변경가능
[before] id 를 path param 으로 얻어옴 [after] jwt 을 통해 id 를 얻어옴
… into feature/member # Conflicts: # src/main/java/com/example/couphoneserver/controller/StoreController.java # src/main/resources/import.sql
- 접근 권한 설명은 swagger 에 명시함
고생하셨습니다 😭 |
넵! 이상한거있으면 알려주세요 😢 파이팅 .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
변경 사항
회원 로그인 기능
MemberGrade 값과 SpringSecurity.Granularity 맞추기
회원 , JWT authorities 변경
API 별 접근 권한 설정
POST /auth/login
POST /brands
GET /brands
GET /brands/{bid}
GET /categories
POST /coupons
PATCH /coupons/stamp/{cid}
PATCH /coupons/status/{cid}
PATCH /users/
GET /users
GET /users/{mid}/brands
POST /stores
GET /coordinate
GET /nearby
회원 탈퇴, 수정
TODO