shp파일 바꾸는로직정리

This commit is contained in:
2026-03-12 07:57:14 +09:00
parent 828a4c5dca
commit e69eccc82b
2 changed files with 62 additions and 2 deletions

View File

@@ -48,7 +48,9 @@ public class SecurityConfig {
auth
// .requestMatchers("/chunk_upload_test.html").authenticated()
.requestMatchers("/monitor/health", "/monitor/health/**")
.requestMatchers("/monitor/health"
, "/monitor/health/**"
)
.permitAll()
// 맵시트 영역 전체 허용 (우선순위 최상단)
@@ -71,6 +73,10 @@ public class SecurityConfig {
.requestMatchers("/api/test/review")
.hasAnyRole("ADMIN", "REVIEWER")
// shapefile 생성 테스트 API - 인증 없이 접근 가능
.requestMatchers("/api/test/make-shapefile")
.permitAll()
// ASYNC/ERROR 재디스패치는 막지 않기 (다운로드/스트리밍에서 필수)
.dispatcherTypeMatchers(DispatcherType.ASYNC, DispatcherType.ERROR)
.permitAll()
@@ -113,7 +119,8 @@ public class SecurityConfig {
"/api/user/**",
"/api/my/menus",
"/api/training-data/label/**",
"/api/training-data/review/**")
"/api/training-data/review/**"
)
.authenticated()
// 나머지는 메뉴권한