diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2013-12-27 17:31:41 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2013-12-27 17:31:41 +0100 |
commit | 63903803dccb799e3ae52538b68411fc9889d3d5 (patch) | |
tree | 794bec73c196126c31fb9df46b7c4ceed79156fc /Http/phpunit.xml.dist | |
parent | 7553159be393b2a5adaf195dd1a212276930cfd9 (diff) | |
parent | 1112d2c68059f6fe658f7655560084d20091e064 (diff) | |
download | symfony-security-63903803dccb799e3ae52538b68411fc9889d3d5.zip symfony-security-63903803dccb799e3ae52538b68411fc9889d3d5.tar.gz symfony-security-63903803dccb799e3ae52538b68411fc9889d3d5.tar.bz2 |
feature #8305 Added MutableAclProvider::deleteSecurityIdentity (lavoiesl)
This PR was merged into the 2.5-dev branch.
Discussion
----------
Added MutableAclProvider::deleteSecurityIdentity
This provides a very simple function to enable the deletion of a SecurityIdentity.
Developers can add a listener on the delete of a user and remove all the related ACLs.
Foreign keys already ensure that the ACEs are properly deleted.
Among the problems of not deleting the SecurityIdentity:
* Inconsistent database, referring to a non-existent user.
* If a user is deleted and another is created with the same name, it will inherit all the old user’s ACEs
Not addressed by this PR: Changing a user’s username breaks the related ACLs. See #5787
See also: https://groups.google.com/forum/#!topic/symfony2/mGTXlTWiMs8/discussion
Commits
-------
bdbbe58 [Security][Acl] Issue #5787 : Added MutableAclProvider::deleteSecurityIdentity
Diffstat (limited to 'Http/phpunit.xml.dist')
0 files changed, 0 insertions, 0 deletions