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 and

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 locatabl

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: if you use trusted adapters you have to declare an additional class or content directive for the adapter itself.: regards, dominik Thank you - thats an instafix. I only added the "truste

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

2006-02-03 Thread Rupert Redington
Dominik Huber wrote: > Rupert Redington wrote: > >> > 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

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

2006-02-03 Thread Dominik Huber
Rupert Redington wrote: if you use trusted adapters you have to declare an additional class or content directive for the adapter itself.: regards, dominik ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/ma

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

2006-02-03 Thread Rupert Redington
Morning (if it is for you)... I've been trying to write an adapter which stores data submitted by a schema generated form into the annotations on an object. I've been guided in this by both Stephan's and Philipp's books (though neither provide an example of what I'm trying to do). My unit tests in