Whups, forgot to set the from addy as my list subscribed mail.<br><br><div class="gmail_quote">On Sun, Jul 25, 2010 at 6:30 AM, Justin Ryan <span dir="ltr">&lt;a.different.address&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><br><div class="gmail_quote"><div class="im">On Sun, Jul 25, 2010 at 1:50 AM, Adam GROSZER <span dir="ltr">&lt;<a href="mailto:agroszer@gmail.com" target="_blank">agroszer@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">

Hello Justin,<br>
<br>
browser:menu is rather ancient, I won&#39;t use it anymore.<br></blockquote><div><br></div></div><div>I can&#39;t find a working example of, e.g., how to enumerate menu items based on it, so I suspected this may be the case..</div>
<div class="im">
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Current menu stuff is better done with viewlets, they manage security<br>
well too.<br>
<br></blockquote><div><br></div></div><div>any examples? :)</div><div class="im"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If your task is not about a menu, you can check perm with:<br>
<br>
        if zope.security.management.thread_local.interaction.checkPermission(<br>
            &#39;your.permisson-id&#39;, self.context):<br><br></blockquote><div><br></div></div><div> ah-ha!  I think you&#39;re right about using viewlets, but for the moment, this is what I was looking for.</div><div>
<br></div>
<div>Thanks, again!</div><div><br></div><font color="#888888"><div>Justin</div></font></div>
</blockquote></div><br>