[Zope] rename objects permission

Casey Duncan cduncan@kaivo.com
Thu, 03 May 2001 09:31:46 -0600


Peter Bengtsson wrote:
> >
> > Assuming action is a DTML method, you do not need PARENTS[0]. That is
> > likely the cause of the problem. I think it is trying to add the image
> > to the parent folder of the icons folder. Try removing it.
> 
> No, tried.
> The behaviour persists when I try without PARENTS[0].
> I.e...
> <dtml-call "manage_addImage(REQUEST['id'], REQUEST['file'])">
> ...does NOT either work.
> 
> Cheers.
> Thanks for the support.
> Peter

try creatin a DTML method in the icons folder called testAdd, add this
code to it:

<dtml-call expr="manage_addImage('test_image','')">

and make sure monkey can view it. Then view it as monkey. Does it work?

-- 
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>