In order to do things like: http://192.168.1.190:10080/tssadmin/objectIds and see the object ids, OFS/ObjectManager.py needs doc strings in the methods that we want to call. It seems that the Zope distribution code doesn't have these doc strings for methods like objectIds, objectItems etc. Is this a security feature or is there another (preferred) way to execute methods like objectIds?
objectIds,, objectValues, etc used to be accessible through the web, but these methods were de-wedbified for security purposes. A Python Script should do the trick: return context.objectIds() ----- Original Message ----- From: "David Beech" <dbeech@bigpond.net.au> To: <zope@zope.org> Sent: Sunday, July 21, 2002 3:25 AM Subject: [Zope] ObjectManager and method doc strings
In order to do things like:
http://192.168.1.190:10080/tssadmin/objectIds
and see the object ids, OFS/ObjectManager.py needs doc strings in the methods that we want to call.
It seems that the Zope distribution code doesn't have these doc strings for methods like objectIds, objectItems etc.
Is this a security feature or is there another (preferred) way to execute methods like objectIds?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Thanks Chris, I was hoping tho' to be able to traverse the object tree by calling an objectIds type of method from outside Zope. The idea is to navigate around the tree and use webdav to edit source - an IDE kind of thing. A script looks like the best way, a least security is preserved. cheers David On Mon, 22 Jul 2002 00:42, you wrote:
objectIds,, objectValues, etc used to be accessible through the web, but these methods were de-wedbified for security purposes. A Python Script should do the trick:
return context.objectIds()
In order to do things like:
http://192.168.1.190:10080/tssadmin/objectIds
and see the object ids, OFS/ObjectManager.py needs doc strings in the methods that we want to call.
It seems that the Zope distribution code doesn't have these doc strings for methods like objectIds, objectItems etc.
Is this a security feature or is there another (preferred) way to execute methods like objectIds?
participants (2)
-
Chris McDonough -
David Beech