Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit06f2f74

Browse files
committed
Merge pull request#3319 from lemoinem/features/acl-update-security-id
[WCM][Security][Acl] Documentation for the new updateUserSecurityIdentity method in Dbal\MutableAclProvider
2 parentscc5c9a3 +2f486ce commit06f2f74

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)

[8]ページ先頭

©2009-2025 Movatter.jp