[Zope3-Users] Permission problem on adapter

Dominique Lederer dominique.lederer at inode.at
Sun Feb 11 05:24:21 EST 2007


FB schrieb:
> Hi,
> 
> On Sun, Feb 11, 2007 at 01:16:51AM +0100, Dominique Lederer wrote:
>> hi
>>
>> i created a trusted adapter on a content object.
>> then i created a formlib edit page for the ZMI, to be able to edit the
>> new attributes on the adapted content object. the adapters interface is
>> correctly rendered to the form.
>>
>> if i try to edit, an unauthorized error is shown, which i also get, when
>> i register the user as Site Manager via Grant in the ZMI.
>> The global admin *can* edit the adapters attributes (the one which is
>> set globally via ZCML).
>>
>> i registered the adapter like this:
>> <adapter factory=".MyClassAnnotations"
>>          trusted="true"  />
> 
> Try to add the attribute 'locate="true"' to the adapter-statement.

Thank you, that worked!

According to Philipps Book, locate should default to 'true', maybe a typo?

Regards Dom


More information about the Zope3-users mailing list