FOSUserBundle icon indicating copy to clipboard operation
FOSUserBundle copied to clipboard

Modify Profile and Acl Security Identity

Open johnbenz13 opened this issue 14 years ago • 4 comments

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.

johnbenz13 avatar Jan 26 '12 22:01 johnbenz13

I've got the same issue.

raphaotten avatar Apr 02 '12 16:04 raphaotten

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

smoove avatar May 21 '12 12:05 smoove

@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.

stof avatar May 26 '12 19:05 stof

@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.

ghost avatar Jan 30 '13 08:01 ghost