Require auth for image tag changes
All checks were successful
build-and-deploy / build-deploy (push) Successful in 33s

This commit is contained in:
androidlover5842
2026-01-27 19:15:18 +05:30
parent 59094f80ba
commit c2dd4607fc
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ class SecurityConfig(
it.requestMatchers("/properties/*/rooms/*/images/*/file").permitAll()
it.requestMatchers("/properties/*/rooms/*/images").permitAll()
it.requestMatchers("/properties/*/room-types").permitAll()
it.requestMatchers("/image-tags").permitAll()
it.requestMatchers(org.springframework.http.HttpMethod.GET, "/image-tags").permitAll()
it.anyRequest().authenticated()
}
.exceptionHandling {