Skip to content

Commit 2f434de

Browse files
committed
feat: /api/v2/onboardings 인가 설정
1 parent e67d9c3 commit 2f434de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/bitnagil/bitnagil_backend/global/config/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
6464
// GUEST 권한으로만 접근 가능한 경로
6565
.requestMatchers("/api/v1/auth/agreements").hasRole("GUEST")
6666
// ONBAORDING 권한으로만 접근 가능한 경로
67-
.requestMatchers("/api/v1/onboardings", "/api/v1/onboardings/routines", "/api/v2/onboardings/routines", "/api/v1/users/infos").hasAnyRole("USER", "ONBOARDING")
67+
.requestMatchers("/api/v1/onboardings", "/api/v2/onboardings", "/api/v1/onboardings/routines", "/api/v2/onboardings/routines", "/api/v1/users/infos").hasAnyRole("USER", "ONBOARDING")
6868
// USER 권한으로만 접근 가능한 경로(전체)
6969
.requestMatchers("/**").hasRole("USER")
7070
.anyRequest().authenticated()

0 commit comments

Comments
 (0)