I have an application where the Symfony Security User model (called Account) will just contain login information (username, password). The rest of the user will be stored in another model (called User). There will be a one to many relation between Account and User and the purpose of this is to be able to have multiple Users, for different projects, but have the same login for them.
So, my problem with this is that I want to use the role system in Symfony, but I want the User model to have roles, and not the Account model. I am not really sure how this can be solved, since the UserInterface is the Account model and not the User model.
Does Symfony support this or do I have to roll my own implementation of roles for this system?