I am working on a project, whereby I have several groups, several permissions and the groups then have specific permissions, using sfDoctrineGuard.
I have 5 modules and what I'm looking to do, is only show specific module links in the admin bar, depending on which user is logged in, via their groups permissions.
I'm not sure how I'd do this without creating several menu methods with the links hard-coded and then just checking what group the user was in and then displaying the particular menu method, but this seems clunky.
Does anyone have a much more streamlined way of how I could do this?