[Zope] Copy/Paste from DTML w/ Proxy Roles
Dieter Maurer
dieter@handshake.de
Thu, 18 Apr 2002 23:38:34 +0200
Stadtverwaltung Schwarzenberg writes:
> 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!
>
> What the ?(&" am I doing wrong?
Nothing! A bug in "manage_pasteObjects". It does not take execution
security into account, such as proxy roles.
Dieter