[Zope] deleting objects from DTML or scripts

Andreas Jung andreas at andreas-jung.com
Thu Feb 19 15:07:41 EST 2004


You need to have the required permission to delete object. This means 
usually that
you need to be Manager. One way out is to assign Manager as proxy to role 
to a
Pythonscript.

-aj

--On Freitag, 20. Februar 2004 6:53 Uhr +0000 garry saddington 
<garry at joydiv.fsnet.co.uk> wrote:

> I have been able to add DTML documents to a folder using a python
> script(addDTMLDocument) but I can't find anywhere how to delete them
> using   python. I can  delete using manage_delObjects:method from
> main.dtml but I  would like to use a python script. Can anyone help me?
> regards
> garry
>
>
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )







More information about the Zope mailing list