We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0ce1df commit 1f7fe39Copy full SHA for 1f7fe39
1 file changed
src/main/java/com/back/web7_9_codecrete_be/global/security/SecurityConfig.java
@@ -54,15 +54,13 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
54
"/h2-console/**", // H2 Console
55
"/api/v1/location/**", //location 정보 조회 도메인(임시)
56
"/api/v1/concerts/**", // concert 정보 조회 도메인
57
- "/api/v1/artists/**" // artist 정보 저장 도메인(임시)
+ "/api/v1/artists/**", // artist 정보 저장 도메인(임시)
58
+ "/api/v1/users/**"
59
).permitAll()
60
61
// ADMIN 전용
62
.requestMatchers("/api/v1/admin/**").hasRole("ADMIN")
63
- // USER, ADMIN 허용
64
- .requestMatchers("/api/v1/users/**").hasAnyRole("USER", "ADMIN")
65
-
66
.anyRequest().authenticated()
67
)
68
0 commit comments