[Zope3-Users] Trusted adapters and annotated security

Frank Burkhardt fbo2 at gmx.net
Thu Jun 15 12:16:18 EDT 2006


Hi,

On Wed, Jun 14, 2006 at 01:24:14PM +0200, Frank Burkhardt wrote:
> Hi,
> 
> Is there a general way make an adapter 'inherit' annotated security permissions
> from the object it adapted?

I've found the solution. This statement

> 	<adapter
> 		for="mpgsite.workflow.interfaces.IAnnotatable"
> 		factory=".annotatableadapter.MyAdapter"
> 		provides=".interfaces.IMyInterface"
> 		trusted="true"
> 	/>

needs an additional attribute locate="true".

Regards,

Frank


More information about the Zope3-users mailing list