Guttok-116 : 테스트 계정 권한 추가 #77
Merged
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.
ROLE_TEST 이라는 테스트 권한을 추가했습니다
테스트 계정은 한번만 추가하면 된다고 생각해서 서버에서 직접 권한을 ROLE_USER 에서 ROLE_TEST 로 바꾸려고 합니다
user repository에 권한 조회 쿼리를 추가해서 ROLE_TEST 을 찾을 수 있도록 했습니다
user 패키지에 TestAccountResetService 클래스를 만들어서 ROLE_TEST을 조회해 스케줄러가 동작한는 코드를 추가했습니다