[Zope] Zclass and Permissions: Delete Instances?
Sat, 22 Jun 2002 11:11:09 +0200
thx - quite obvious. so - am i wrong if i consider that for somehow=20
inconsistent? the zope-security-model allows me to delegate add- and=20
edit-permissions depending on meta_type, but concerning "Delete Objects"=20
i=B4m only able to either disallow it or generally allow it for a=20
Dieter Maurer wrote:
> wchr writes:
> > ok - there is an "Add ***" permission mapped to "Create class instan=
> > per default. i also know how to create a new custom permission in th=
> > product=B4s folder, how to add it to the zclass "Class Permission" a=
> > to map a zclass-propertysheet=B4s "Manage properties" permission to =
> > custom permission.
> > but is there also a possibility to map the "Delete Objects" permissi=
> > 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 themsel=
> Thus, when your ZClass is an Object Manager, remapping "Delete obj=
> will have an effect (on the ZClass content deletion). It will
> not control deletion of the Z Instances themselves.