Le 25/07/2010 03:15, Justin Ryan a écrit : > Hiya.. > > I want to restrict some links to display only for principals with access > to the link target, e.g. an add, edit, admin page, based on permissions. > > For the life of me, I can't find an example of this.. Any pointers would > be helpful.
I'm not sure, but I remember that there is some such feature in the browser:menu ZCML directive. If the user doesn't have the permission, the link is not displayed. Otherwise you can implement this in a viewlet or content provider. Christophe > > > > _______________________________________________ > bluebream mailing list > [email protected] > https://mail.zope.org/mailman/listinfo/bluebream _______________________________________________ bluebream mailing list [email protected] https://mail.zope.org/mailman/listinfo/bluebream
