Re: [Zope] DiskBased products and security

2005-06-13 Thread Dieter Maurer
Haim Ashkenazi wrote at 2005-6-13 15:43 +0300: > ... >1. __roles__ = () - I didn't understand exactly why but with this >statement I can't access the product either from the ZMI or directly from >the web. This is a (deprecated) alternative for "security.declareObjectPrivate()". >2. security.setDe

[Zope] DiskBased products and security

2005-06-13 Thread Haim Ashkenazi
Hi I'm following the example of "The Zope Bible" on how to create disk based products. after adding the imports, 'InitializeClass(class)' statement and the 'security = ClassSecurityInfo()' statement he recommends two other statements: 1. __roles__ = () - I didn't understand exactly why but with