[Zope3-Users] Permission problem on adapter
FB
fbo2 at gmx.net
Sun Feb 11 03:24:34 EST 2007
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.
Regards,
Frank
More information about the Zope3-users
mailing list