store routingpreferences for each user in database, get and update via service, create with default for new users

This commit is contained in:
2026-01-22 15:59:38 +01:00
parent abb8211e16
commit fb9276ca15
8 changed files with 159 additions and 1 deletions
@@ -98,6 +98,7 @@ 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");