Re: [Zope3-Users] Forbidden Attribute errors whilst adapting to schema

2006-02-03 Thread Dominik Huber
Rupert Redington wrote: adapter for=.interfaces.ILink provides=.interfaces.ILinkDetails factory=.link.LinkDetails trusted=True / if you use trusted adapters you have to declare an additional class or content directive for the adapter itself.: class

Re: [Zope3-Users] Forbidden Attribute errors whilst adapting to schema

2006-02-03 Thread Rupert Redington
Dominik Huber wrote: Rupert Redington wrote: adapter for=.interfaces.ILink provides=.interfaces.ILinkDetails factory=.link.LinkDetails trusted=True / if you use trusted adapters you have to declare an additional class or content directive for the adapter

Re: [Zope3-Users] Forbidden Attribute errors whilst adapting to schema

2006-02-03 Thread Dominik Huber
Rupert Redington wrote: Dominik Huber wrote: Rupert Redington wrote: adapter for=.interfaces.ILink provides=.interfaces.ILinkDetails factory=.link.LinkDetails trusted=True / if you use trusted adapters you have to declare an additional class or content

Re: [Zope3-Users] Forbidden Attribute errors whilst adapting to schema

2006-02-03 Thread Rupert Redington
Dominik Huber wrote: I prefer the trusted adapter because they encapslulate the adapter inside a security proxy. Then the trusted adapter has full access to the underlying object. That simplifies the security story very much because you handle it on the adation level. If you use locatable

Re: [Zope3-Users] Forbidden Attribute errors whilst adapting to schema

2006-02-03 Thread Dominik Huber
Rupert Redington wrote: I prefer the trusted adapter because they encapslulate the adapter inside a security proxy. Then the trusted adapter has full access to the underlying object. That simplifies the security story very much because you handle it on the adation level. If you use locatable