I ran into the same problem when trying to use groups with that bundle. I 
tried a lot of different approaches and it kept incorrectly detecting my 
schema. I first noticed a problem when I tried to run the 
doctrine:schema:update command (with --dump-sql) and discovered that it 
wasn't generating the right queries. So there's definitely an issue with 
either the documentation or the implementation of groups. When looking at 
the source code and the service definitions, it didn't look like groups were 
finished yet. I may be wrong but pieces seemed like they were missing.

I'm afraid that I don't have a solution yet. For now I've abandoned using 
groups and will just be using the event dispatcher 
(http://symfony.com/doc/2.0/book/internals/event_dispatcher.html) to 
add/remove roles from users. I'd prefer to use groups since they're 
conceptually easier to manage but they were just causing me to waste far too 
much time trying to get them to work at this point.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to