[Zope-PAS] IUserEnumerationPlugin and IGroupEnumerationPlugin should return mappings?

Johan Carlsson johanc at easypublisher.com
Thu Dec 9 07:49:02 EST 2004


According to interface declaration of PAS the IUserEnumerationPlugin and 
IGroupEnumerationPlugin should return mappings.

Now when implementing a SQL back-end for PAS it would seem more 
efficient to return a list of brains, the problem is that
a custom brain can't be made to a mapping (you can't override
__getitem__).

Is it possible to use brains as is instead of mappings?

Regards,
Johan

-- 
Johan Carlsson
johanc at virtutech.com


More information about the Zope-PAS mailing list