Michel Pelletier has reminded me that we need a security check by
containment at each point in the search through context.

So, in my example, the search will look like this:

/
|-A        a
| |-B      b
|
|-X        x
| |-P      p1
| |-Y      y
|
|-P        p0

  Context-first
  Acquisition  (P of (B of (A of (Y of (X of /)))

  Security     p0 /  b a /  a b  y x /  x /  / 
  Checks

That makes for a lot of security checks.
There are possible optimisations, though. But this starts to get even
more complicated.

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net

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

Reply via email to