store routingpreferences for each user in database, get and update via service, create with default for new users
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user