Skip to content

Commit 2f486ce

Browse files
committed
[Security][Acl] Documentation for the new updateUserSecurityIdentity method in Dbal\MutableAclProvider
1 parent 9d4a138 commit 2f486ce

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cookbook/security/acl_advanced.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ Security Identities
4545
This is analog to the object identity, but represents a user, or a role in
4646
your application. Each role, or user has its own security identity.
4747

48+
.. versionadded:: 2.5
49+
For users, the security identity is based on the username. This means that,
50+
if for any reason, a user's username was to change, you must ensure its
51+
security identity is updated too. The method ``updateUserSecurityIdentity``
52+
of the :class:`Symfony\\Component\\Security\\Acl\\Dbal\\MutableAclProvider`
53+
class is there to handle the update.
54+
4855
Database Table Structure
4956
------------------------
5057

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy