[Zope3-Users] Where unauthorized is raised?
Darryl Cousins
darryl at darrylcousins.net.nz
Fri Jul 21 17:59:29 EDT 2006
Hi Roger,
Thanks. Is there a preferred option between using self.context =
self.__parent__ = context and setting the 'locate' directive in
configure.
My thought is that setting __parent__ on the adapter is unecessary if
locate does the job.
Best regards,
Darryl
Roger Ineichen wrote:
>
> You can use in the adapter directive the locate attribute and perhaps
> a trusted attribute like:
>
> <adapter
> name="photo_or_somthing"
> factory="theFactory"
> locate="True"
> trusted="True"
> />
>
More information about the Zope3-users
mailing list