Skip to content

Commit

Permalink
Merge pull request #3319 from lemoinem/features/acl-update-security-id
Browse files Browse the repository at this point in the history
[WCM][Security][Acl] Documentation for the new updateUserSecurityIdentity method in Dbal\MutableAclProvider
  • Loading branch information
weaverryan committed Dec 23, 2013
2 parents cc5c9a3 + 2f486ce commit 06f2f74
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cookbook/security/acl_advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ 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.

.. versionadded:: 2.5
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 ``updateUserSecurityIdentity``
of the :class:`Symfony\\Component\\Security\\Acl\\Dbal\\MutableAclProvider`
class is there to handle the update.

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

Expand Down

0 comments on commit 06f2f74

Please sign in to comment.