backend rewritten in rust #11

Merged
mixel merged 9 commits from new-backend into main 2024-10-04 17:28:26 +02:00
Showing only changes of commit 502a80df95 - Show all commits

View file

@ -62,6 +62,7 @@ public class User implements UserDetails {
this.userId = userId;
}
// TODO: Figure out if this is necessary here since getUsername() should be used on the Entity however this references the interface
public String getUsername() {
return username;
}
@ -113,8 +114,7 @@ public class User implements UserDetails {
// UserDetails interface methods
@Override
public Collection<? extends GrantedAuthority> getAuthorities() {
// Return the authorities granted to the user
return Collections.emptyList(); // Implement this based on your requirements
return Collections.emptyList(); // returns roles of the user // currently returns an empty list
}
@JsonIgnore