symfony/symfony — pull request #5171 by wimvds (2012-08-03 12:20:24+00:00)
Title: Fix/role security identity

We're using our own Role object that implements RoleInterface and the Acl didn't work because of the fact that RoleSecurityIdentity checked on the objects passed being an instance of Role instead of RoleInterface...

I also added some extra sanity checks in the constructor and tests for them.