[Zope] ZClass and Permissions

Dieter Maurer dieter@handshake.de
Fri, 21 Jun 2002 23:12:06 +0200


douwe@oberon.nl writes:
 > > douwe@oberon.nl writes:
 > >  > > douwe@oberon.nl writes:
 > >  > > ... property management problems with ZInstances ...
 > >  > > Try the "Define Permissions" tab of the property sheet itself.
 > >  > > And be sure, you specify the property sheet in your
 > > "manage_addProperty".
 > >  > Hmm, maybe that is the problem. I am not using property
 > > sheets, but storing
 > >  > all
 > >  > needed properties directly in the z class object and I go to the Define
 > >  > permissions
 > >  > tab of the class, not of the property sheet.
 > > Normal ZClasses are not PropertyManagers and do not have
 > > a "manage_addProperty" method.
 > >
 > >   You are sure that your have a base class that is a PropertyManager?
 > >
 > Correction: I'm having PropertyManager as a base class, because my ZClass is
 > derived from DTMLDocument.
If your ZClass is independent of non-Core products, you can may
an export and send it to me.

I will try to figure out why you cannot add properties.


Dieter