symfony/symfony — pull request #3603 by khepin (2012-03-15 13:38:05+00:00)
Title: Allow users to set their own ObjectIdentityRetrievalStrategy.

It seems there is no automatic / universal way to "fix" issues #2056 #2035 or #2048 on the ACL.

That's: when we have 2 or more php representations of the same entity (for example Doctrine proxy classes), the ACL considers those 2 as distincts because the object identity retrieval is based on the class.

There is already a parameter to set the object identity retrieval strategy now but it's not accessible for users to modify it. This PR does only this: allow developers to set their own object id retrieval strategy.