Hello,
I use sfguard plugin and i want to display a layout dedicated to
specific user's group (different menus/functionnalities).
Sequences :
1 - user1 (group1) logs in
2 - route to homepage with the layout1
If user2 (group2) logs in so he is redirected to the homepage with
layout2.
How can i
Create a base action with a preExecute method. Check in that method for
the user's group and change the layout accordingly. Then extend your actions
from this base action. This would be a way of doing it. Another way would be
maybe with a filter, but I like to have a baseAction and your