[Zope3-Users] Where unauthorized is raised?
    Roger Ineichen 
    dev at projekt01.ch
       
    Fri Jul 21 18:58:48 EDT 2006
    
    
  
Hi Darryl 
> 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.
just remember, 
the missing location on a adapters is most the time responsible 
for permission lookup problems.
Regards
Roger Ineichen
    
    
More information about the Zope3-users
mailing list