I have created an interface for users to upload files to a zope server and everytime they upload the files I create an ExtFile to keep the file metadata. The problem is .. I want the files only to be accessible by Authenticated Users. How can I do this via a Python Script ? ( I Know how to do it manually using ZMI ) I want to do it dynamically using a python script. Thanks in advance -- Get your free email from www.linuxmail.org Powered by Outblaze
low kian seong writes:
... The problem is .. I want the files only to be accessible by Authenticated Users. How can I do this via a Python Script ? ( I Know how to do it manually using ZMI ) I want to do it dynamically using a python script. Whenever you are in such a situation, you look at the ZMI source and learn how the ZMI does it. Then, you do it in the same way.
You need to know how calling actions via the Web corresponds to calling functions directly. I recently posted something about this to the mailing list... Dieter
participants (2)
-
Dieter Maurer -
low kian seong