Skip to content

Commit 82c8a87

Browse files
committed
feat: 보안 설정 추가
1 parent b492651 commit 82c8a87

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/org/muses/backendbulidtest251228/global/config/SecurityConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
4848
.requestMatchers("/api/checkin/result", "/checkin/result").permitAll()
4949
.requestMatchers("/api/auth/profile/**", "/api/users/me/**").authenticated()
5050
.requestMatchers("/login/**", "/auth/callback", "/api/auth/**", "/oauth2/**", "/api/projects/**", "/api/alarms/**", "/api/events/**", "/health", "/error").permitAll()
51+
.requestMatchers(org.springframework.http.HttpMethod.POST, "/api/creators/me/applications").authenticated()
5152
.requestMatchers("/api/creators/**").hasRole("CREATOR")
5253
.requestMatchers("/api/admin/**").hasRole("ADMIN")
5354
// TODO 정적 파일 (업로드된 이미지) 허용

0 commit comments

Comments
 (0)