Re: [Zope3-dev] Re: security frustrations

2005-08-10 Thread Dominik Huber
Florent Guillaume wrote: Does it work to just set __parent__ to the container? Or does the zopesecuritypolicy require more accurate context? Yes, the unset location is the problem, why the local security cannot be looked up. Martijn Faassen wrote: Benji York wrote: Martijn Faassen

[Zope3-dev] Re: security frustrations

2005-08-09 Thread Florent Guillaume
Does it work to just set __parent__ to the container? Or does the zopesecuritypolicy require more accurate context? Florent Martijn Faassen wrote: Hi there, In working with Zope 3 to build an application, I repeatedly run into the following situation: * user gets a local role on a

Re: [Zope3-dev] Re: security frustrations

2005-08-09 Thread Martijn Faassen
Florent Guillaume wrote: Does it work to just set __parent__ to the container? Or does the zopesecuritypolicy require more accurate context? I think that might work, though I've had previous problems with actually being allowed to *set* the __parent__ to the container. :) I would also be