Skip to content

Commit ba25c60

Browse files
authored
🚑 role권한 원복
1 parent 0095338 commit ba25c60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/amatta/findog/security/config/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public SecurityFilterChain filterChain(HttpSecurity httpSecurity) throws Excepti
4646
"/api/shelter/reload"
4747
).permitAll()
4848
// USER권한이 있어야 요청할 수 있도록 제한함
49-
// .requestMatchers("/test").hasRole("ROLE_MEMBER")
49+
.requestMatchers("/test").hasRole("ROLE_MEMBER")
5050
// 이밖의 모든 요청에 대해 인증을 필요로함
5151
.anyRequest().authenticated())
5252
// JWT 인증을 위해 직접 구현한 필터를 UsernamePasswordAuthenticationFilter 전에 실행

0 commit comments

Comments
 (0)