Skip to content

Commit

Permalink
add back updateUserSecurityIdentity() hint
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Jan 4, 2016
1 parent 8774f7d commit 466e404
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cookbook/security/acl_advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ Security Identities
This is analog to the object identity, but represents a user, or a role in
your application. Each role, or user has its own security identity.

.. caution::

For users, the security identity is based on the username. This means that,
if for any reason, a user's username was to change, you must ensure its
security identity is updated too. The
:method:`MutableAclProvider::updateUserSecurityIdentity() <Symfony\\Component\\Security\\Acl\\Dbal\\MutableAclProvider::updateUserSecurityIdentity>`
method is there to handle the update.

Database Table Structure
------------------------

Expand Down

0 comments on commit 466e404

Please sign in to comment.