[Zope3-Users] security problem setting Annotations with an adapter

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Nov 10 15:13:57 EST 2006

On Friday 10 November 2006 14:36, Dominique Lederer wrote:
> whats the right way to tell the zope security policy that setting
> Annotaions via Adapter is allowed?

When registering the adapter, specify the "trusted" attribute and set it to 
true. You will also then have to provide a permission for the adapter. Even 
better would be a "class" ZCML Directive for the adapter containing the 
security declarations.

Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training

More information about the Zope3-users mailing list