Any easy way to delete a user (having many to many relation with role) in acegi, grails?
Posted
by john
on Stack Overflow
See other posts from Stack Overflow
or by john
Published on 2010-05-21T20:52:56Z
Indexed on
2010/05/21
22:40 UTC
Read the original article
Hit count: 121
Hi,
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 have to delete the related record in authotiries-people first....then come back to delete the record...
the problem is: other people are still using this authority (ROLE)
could some one enlighten me how to delete the user without deleting the authority?
thanks.
© Stack Overflow or respective owner