[Zope] ZClass and Permissions
douwe@oberon.nl
douwe@oberon.nl
Sat, 15 Jun 2002 19:45:59 +0200
Hi,
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.
Douwe
> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> Dieter Maurer
> Sent: Friday, June 14, 2002 9:11 PM
> To: douwe@oberon.nl
> Cc: Zope
> Subject: Re: [Zope] ZClass and Permissions
>
>
> 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
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>