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<div>

<br></div><div><a href="http://drupal.org/project/content_access">http://drupal.org/project/content_access</a></div><div><br></div><div><a href="http://drupal.org/project/content_access"></a> I should hide menu entries to nodes on role basis.</div>

<div><br></div><div><br><br><div class="gmail_quote">On Mon, Jul 12, 2010 at 4:26 PM, Pablo L. de Miranda <span dir="ltr">&lt;<a href="mailto:pablolmiranda@gmail.com">pablolmiranda@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

the menu_per_role don&#39;t function fine to me. A solutions that I need<br>
to do was create a menu for each role.<br>
<br>
Att,<br>
<font color="#888888"><br>
Pablo<br>
</font><div><div></div><div class="h5">--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</div></div></blockquote></div><br></div>