[Zope-dev] Fw: executing API functions and zope's security

Krzysztof Kubacki krzysztof.kubacki at bmpg.pl
Wed Oct 13 08:39:32 EDT 2004


Hi,
I have a Xron product installed onto Zope 2-6-2.
I would like to flush permanent and not referenced objects at given time from cache. To do it I have to use API function manage_minimize() (You can do it in ZMI as well: Control_panel->Database->Flush).
I prepared a DTMLdocument with source as follows:

<dtml-var "Control_Panel.Database.manage_minimize()">



When Xron tries to execute DTMLdocument above, it occurs as anonymous user and ends failure becouse of zope's security restrictions. 
I tried to add permisions to DTMLdocument and Schedule objects in "Security" tab but without success.

Does anybody know which of permissions I have to mark to execute that operation?

Krzychu K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-dev/attachments/20041013/17736eb5/attachment.htm


More information about the Zope-Dev mailing list