FriendsOfSymfony/FOSUserBundle — pull request #418 by stof (2011-11-28 01:23:17+00:00)
Title: Propel refactoring

This refactors the Propel implementation to use real proxy objects to avoid issues when modifying both the proxy object and the real object in the same request as the current implement will reset the object with the value kept in UserProxy on save.

It also cleans the schema to be consistent with the Doctrine implementation: no more Role model class but an array field, and no more unused ``super_admin`` field.

And finally, it allows extending the user class (thanks to @couac for helping me finding the solution). Extending the Group class should also work in most cases. It will simply fail when using the objects returned by ``$user->getGroups()`` in a form as they won't be using the extending proxy and so will only support using the base fields in the form.

an example using it can be found in https://github.com/stof/symfony-standard/tree/propel_fosub