[Zope] ZClass and Permissions

Dieter Maurer dieter@handshake.de
Fri, 14 Jun 2002 21:11:29 +0200


douwe@oberon.nl writes:
 > I have a ZClass that I only want to be editable by certain persons, the same
 > persons that have permission to create instances of this object.
 > 
 > I created a new role with the 'Add My Class' permission enabled at the
 > directory where where this all should happen. Now logins with this role (and
 > this role only) can create instances of the Z-Class.
 > 
 > But they cannot modify properties. How do I accomplish that?
Use the "Define Permissions" tab of the ZClass and map
"Change properties" (or something similar) to "Create XXXX instance"
(or another permission you like).


Dieter