Whups, forgot to set the from addy as my list subscribed mail. On Sun, Jul 25, 2010 at 6:30 AM, Justin Ryan <a.different.address> wrote:
> > > On Sun, Jul 25, 2010 at 1:50 AM, Adam GROSZER <[email protected]> wrote: > >> Hello Justin, >> >> browser:menu is rather ancient, I won't use it anymore. >> > > I can't find a working example of, e.g., how to enumerate menu items based > on it, so I suspected this may be the case.. > > >> Current menu stuff is better done with viewlets, they manage security >> well too. >> >> > any examples? :) > > >> If your task is not about a menu, you can check perm with: >> >> if >> zope.security.management.thread_local.interaction.checkPermission( >> 'your.permisson-id', self.context): >> >> > ah-ha! I think you're right about using viewlets, but for the moment, > this is what I was looking for. > > Thanks, again! > > Justin >
_______________________________________________ bluebream mailing list [email protected] https://mail.zope.org/mailman/listinfo/bluebream
