Skip to content

Commit 4707627

Browse files
committed
fix: 파ì게스트 파일 업로드 권한 부여
1 parent 6b3804c commit 4707627

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
5050
.requestMatchers("/login/**", "/auth/callback", "/api/auth/**", "/oauth2/**", "/api/projects/**", "/api/alarms/**", "/api/events/**", "/health", "/error").permitAll()
5151
.requestMatchers(org.springframework.http.HttpMethod.GET, "/api/creators/applications/me").authenticated()
5252
.requestMatchers(org.springframework.http.HttpMethod.POST, "/api/creators/applications").authenticated()
53+
.requestMatchers(org.springframework.http.HttpMethod.POST, "/api/creators/applications/me/docs").authenticated()
54+
.requestMatchers(org.springframework.http.HttpMethod.GET, "/api/creators/applications/me/docs").authenticated()
55+
.requestMatchers(org.springframework.http.HttpMethod.POST, "/api/creators/applications/me/submit").authenticated()
5356
.requestMatchers("/api/creators/**").hasRole("CREATOR")
5457
.requestMatchers("/api/admin/**").hasRole("ADMIN")
5558
// TODO 정적 파일 (업로드된 이미지) 허용

0 commit comments

Comments
 (0)