[Zope-dev] Re: Five and browser-oriented components

Tres Seaver tseaver at palladion.com
Sat Apr 12 21:52:40 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Aspeli wrote:
> Martijn Faassen wrote:
> 
>> Technically, I think that this is going to be hard. You'd need to patch 
>> in the magic acquisition base class. Acquisition is the main reason that 
>> some of the code needed to be duplicated - without the existence of 
>> acquisition wrappers, security checks are not made for view access and 
>> things just won't work.
> 
> I think if we could finish the philikon-aq_parent branch (or whatever 
> it's called) that makes it possible to do acquisition using __parent__ 
> pointers, we'd be a lot closer.

AFAIU, that branch doesn't provide *acquisition* via the __parent__
pointer:  rather it allows the containment-based security check, which
currently uses the 'inner' acquisition wrapper, to use the chain of
'__parent__' pointers as an alternative when no acquisition wrapper is
present.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIAWdo+gerLs4ltQ4RAh/WAKCku3C7UKhJTYEr69f0qUzkgH8pQQCfbRo/
W1MlgpkUjjqovn12v1lgduc=
=oSDG
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list