[Zope-DB] mxDateTime result

M.-A. Lemburg mal@lemburg.com
Fri, 01 Nov 2002 13:31:18 +0100


Dieter Maurer wrote:
> M.-A. Lemburg writes:
>  > > Does that mean that the mxDateTime C module must be modified to state 
>  > > Zope security assertions ?
>  > 
>  > That's for Andreas to answer :-)
>  > 
>  > If there's an easy way to do this, I could add something along these
>  > lines to mxDateTime 2.1.0.
> You add two attributes to your objects:
> 
>     __allow_access_to_unprotected_subobjects__=1
> 
> and
> 
>     __roles__= None
> 
> These make the objects public.

If that's all, I'll make the needed changes in the next version.

Thanks,
-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
_______________________________________________________________________
eGenix.com -- Makers of the Python mx Extensions: mxDateTime,mxODBC,...
Python Consulting:                               http://www.egenix.com/
Python Software:                    http://www.egenix.com/files/python/