Perhaps put a different way, how do I set up a default security role for newly registered users in Grails using teh ACEGI plug-in?
I have followed the acegi/grails tutorial
In default acegi setting, person and authority have many to many relations. Thus, in addtion to people and authorities, there is a table authotiries-people.
To delete a person (a user) I ...
Well, as it turns out, the compareTo method in my Role class (Role implements GrantedAuthority) was returning always 0. So each user had only one role (since ...