[Zope3-Users] Where unauthorized is raised?
dev at projekt01.ch
Fri Jul 21 18:58:48 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.
Yes, I use most the time locate="True". But right, set the parent
explicit is also Ok. I don't thnk there is a preferred way.
the missing location on a adapters is most the time responsible
for permission lookup problems.
More information about the Zope3-users