Skip to content

Commit

Permalink
hotfix: fix workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonardoMeireles55 committed Jan 26, 2025
1 parent 507022b commit d7b42fb
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
req.requestMatchers("/v3/api-docs/**", "/swagger-ui.html", "/swagger-ui/**")
.permitAll();

// Health check endpoints
req.requestMatchers("/actuator/**")
.permitAll();

// Admin-only endpoints
req.requestMatchers(HttpMethod.DELETE, "/generic-analytics/**")
.hasRole("ADMIN");
Expand Down

0 comments on commit d7b42fb

Please sign in to comment.