This is a bit messy here... It seems FtpCredentials are not dropped on user delete.

you probably have two private methods : `cleanProperties` and `cleanRights`
Both of these methods might be called in this `delete` method, and `cleanProperties` might be called in the `onUpdateModel` method.

CleanProperties should drop all relationship of the user that are not rights. this should be called on delete and on template transformation