> If I have the following lines in a Python Product:
>
> def __init__(self, id):
> """initialise a new instance of product"""
> self.id = id
> self.title = 'Title!'
> self.anInt = 0
> self.aString = 'testing'
>
> Are these attributes protected by the security machinery?
> If so, how so?
Chris -
I've verified (any of my previous comments to the contrary) that
simple attributes (python types) do not really play in the
permissions machinery. The canonical way to expose such things
for now is to expose them through method calls (which can play
in the permissions scheme).
Brian Lloyd [EMAIL PROTECTED]
Software Engineer 540.371.6909
Digital Creations http://www.digicool.com
_______________________________________________
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 )