Merge branch 'route_alternatives'
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good

# Conflicts:
#	src/main/java/SuMoC/backend/user/models/User.java
This commit is contained in:
2026-01-22 19:49:35 +01:00
61 changed files with 1991 additions and 208 deletions
@@ -98,11 +98,13 @@ public class SecurityConfiguration {
auth.requestMatchers("/friendship/**").hasAnyRole("ADMIN", "USER");
auth.requestMatchers("/trip/**").hasAnyRole("USER", "ADMIN");
auth.requestMatchers("/geocoding/**").hasAnyRole("USER", "ADMIN");
auth.requestMatchers("/routing/preferences/**").hasAnyRole("USER", "ADMIN");
// gamification
auth.requestMatchers("/badges/**").hasAnyRole("ADMIN", "USER");
auth.requestMatchers("/leaderboard/**").hasAnyRole("ADMIN", "USER");
auth.requestMatchers("/notifications/**").hasAnyRole("USER", "ADMIN");
//auth.requestMatchers("/error").permitAll();
auth.anyRequest().authenticated();