[Zope] update_data()

kapil thangavelu k_vertigo@yahoo.com
Fri, 22 Feb 2002 20:43:42 -0800


On Wednesday 13 February 2002 11:41 am, Bryan C. Andregg wrote:
> I'm writing a python Script that handles user uploaded files (among other
> things). I'd like users to be able to overwrite files and looking at the
> API update_data() appears to be what I want. I did notice the caveat that
> it was callable by Python only, but no good explaination as to whether this
> meant just External Methods or Scripts or something else.
>
> And, sure enough when I try and use the Script I'm shown a login box and
> asked for authentication (even when the admin already). When I cannot
> authenticate I'm told that I don't have the proper permissions.
>
> So, there are two questions here,
>
> 1. just what is allowed to call update_data()

unrestricted python code, ie external methods or python products

>
> 2. is there something else that I can call instead?

manage_edit

hth

kapil