Skip to content

Commit

Permalink
fix: error status codes
Browse files Browse the repository at this point in the history
  • Loading branch information
mghilardelli committed Oct 30, 2024
1 parent 4f37ee3 commit f7f788b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class WebSecurityConfig {
authorize("/swagger-ui/**", permitAll)
authorize("/v3/api-docs/**", permitAll)
authorize("/actuator/health/**", permitAll)
authorize("/error", authenticated)
authorize("/api/**", hasRole("admin"))
authorize("/**", denyAll)
}
Expand Down

0 comments on commit f7f788b

Please sign in to comment.