[Zope] ZClass and Permissions
Sat, 15 Jun 2002 19:45:59 +0200
Thanks for the tip. However this is more or less what I tried, ie
I mapped Manage Properties to Add My Class (Manage Properties on the
left side, Add My Class from the dropdown box on the right side) and
I still get addProperty not allowed in this context.
> -----Original Message-----
> From: email@example.com [mailto:firstname.lastname@example.org]On Behalf Of
> Dieter Maurer
> Sent: Friday, June 14, 2002 9:11 PM
> To: email@example.com
> Cc: Zope
> Subject: Re: [Zope] ZClass and Permissions
> firstname.lastname@example.org 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).
> Zope maillist - Zope@zope.org
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-dev )