[Zope] 'Delete objects' permission
Chris Withers
chrisw at nipltd.com
Wed Sep 17 08:24:16 EDT 2003
Tim Terlegård wrote:
> Are permissions handled differently on folders than other objects?
> I have a community site where members should be able to add objects
> anywhere, but only delete their own objects. How do I achieve this?
>
> I have a folder and in it an object. If I add 'Delete objects' and
> 'Modify portal content' for Owner on the object I still can't delete
> it.
No, these have to be given on the folder that contains the object...
> If I add 'Delete objects' for Owner on the folder I still can't
> delete the object, but if I add 'Delete objects' for Member, then
> I can delete the object.
Indeed, the owner of the folder is probably not the owner of the document ;-)
> How should I set the permissions to get this community policy?
Give the member a local role of Owner on their own folder. Then assign "delete
object" to Owner at the root of your portal...
cheers,
Chris
More information about the Zope
mailing list