[Zope-dev] Acquisition Confusion :S

Steve Alexander steve@cat-box.net
Tue, 08 Aug 2000 08:47:48 +0100


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