On Mon, Aug 21, 2000 at 04:21:33PM +0100, Toby Dickenson wrote:
> On Mon, 21 Aug 2000 16:03:38 +0200, Bob Pepin <[EMAIL PROTECTED]> wrote:
> Yeah, this is a good one. Theres some debate in the Collector about
> whether this is actually a bug or not.
> In short, aq_inContextOf checks for nested aquisition contexts. It
> does *not* check for nested objects.  It will return zero if you pass
> it parallel acquisition contexts, even if the objects are indeed
> nested.
> Here is the full story, and a patch to get it to work the other way.
> http://classic.zope.org:8080/Collector/1066/view
> (This patch used to work, but ive not used it since it was submitted)

hmm... shouldn't either User.BasicUser.allowed() or aq_inContextOf be modified
then, since the intent in allowed() doesn't seem to be to check for nested

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to