This content has been marked as final. Show 2 replies
I was editing the code to make it more readable, we actually call users auths for internal reasons, so, according to my changes:
private List<AuthGroup> groups = new ArrayList<AuthGroup> ();
private List<UserGroup> groups = new ArrayList<UserGroup> ();
on the User entity... sorry for the confusion.
This should be ManyToMany relationship.