[Zope] Copy/Paste from DTML w/ Proxy Roles

Peter Bengtsson mail@peterbe.com
Fri, 19 Apr 2002 17:28:24 +0200


On Wednesday 17 April 2002 09:46, Stadtverwaltung Schwarzenberg wrote:
> Hi there!
>
> I'm trying to copy a folder to another folder using a DTML-Method. The
> Problem is that this Method has to be run by Anonymous so I thought I might
> give it "Manager" as a proxy-role. But this does not work. Every time I
> call <dtml-call
> "manage_pasteObjects(manage_copyObjects(ids=['defaultFolder']))"> I get a
> security exception!

Have you looked at manage_clone() ?? search Zope Book/zope.org/mailinglist
Perhaps it's better than manage_pasteObjects()