[Zope3-Users] "Forbidden Attribute" errors whilst adapting to
schema
Dominik Huber
dominik.huber at perse.ch
Fri Feb 3 05:26:19 EST 2006
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 class=".link.LinkDetails">
<require
permission="zope.View"
interface=".interfaces.ILinkDetails"
/>
<require
permission="zope.ManageContent"
set_schema=".interfaces.ILinkDetails"
/>
</class>
regards,
dominik
More information about the Zope3-users
mailing list