FriendsOfSymfony / FOSUserBundle

Provides user management for your Symfony project. Compatible with Doctrine ORM & ODM, and custom storages.
https://symfony.com/doc/master/bundles/FOSUserBundle/index.html
MIT License
3.25k stars 1.57k forks source link

Modify Profile and Acl Security Identity #505

Open johnbenz13 opened 12 years ago

johnbenz13 commented 12 years ago

When changing the username of the User, it doesn't change the Acl Security Identity column "identifier", so everything the user had access to is then denied.

raphaotten commented 12 years ago

I've got the same issue.

smoove commented 12 years ago

I've got the same problem. Wouldn't it be easier to use the user id as the identifier, instead of the user name?

stof commented 12 years ago

@smoove We are not responsible for the identifier used. The security component uses the username to identify a user. It does not know about the id at all: there is no getId method in the UserInterface and it defines the username as the identifier of the user.

ghost commented 11 years ago

@stof: what should be done here? it kinda sounds like it should just be closed up.

@smoove, @raphiotten, @johnbenz13: If you folks want something else done, then you should report it at symfony so it can be discussed with the security component maintainers.