[Zope] Zclass and Permissions: Delete Instances?
Fri, 21 Jun 2002 23:21:43 +0200
> ok - there is an "Add ***" permission mapped to "Create class instance=
> per default. i also know how to create a new custom permission in the=20
> product=B4s folder, how to add it to the zclass "Class Permission" and=
> to map a zclass-propertysheet=B4s "Manage properties" permission to my=
> custom permission.
> but is there also a possibility to map the "Delete Objects" permission=
> regarding a certain zclass to a custom permission?
Yes, but it will not give you what you like:
The permission "Delete objects" is associated with the container
containing the to be deleted objects and not these objects themselve=
Thus, when your ZClass is an Object Manager, remapping "Delete objec=
will have an effect (on the ZClass content deletion). It will
not control deletion of the Z Instances themselves.