FriendsOfSymfony/FOSUserBundle — Issue #468: User.getRoles() silently adds the default role
Author: moberwasserlechner
Created: 2011-12-30 22:33:57+00:00
State: open

Right now the method "getRoles()" in "FOS\UserBundle\Model\User:360" always adds the default role (ROLE_DEFAULT) to the result, although I've never added it.

If there are existing roles, it should not be required to add this role as a precaution.