[BlueBream] security on links

Christophe Combelles ccomb at free.fr
Sun Jul 25 03:50:42 EDT 2010


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
> bluebream at zope.org
> https://mail.zope.org/mailman/listinfo/bluebream



More information about the bluebream mailing list