Presumably you also want to restrict access to the node itself which is labelled as foo and bar, not only not show menu entries. From your original mail it also appears that you do not want to have separate menus, so I suggest to use
the menu_per_role don't function fine to me. A solutions that I need
to do was create a menu for each role.
Att,
Pablo