Re: [Zope-dev] ZCatalog: hiding search results from unauthorized users - hack

2001-11-16 Thread Igor Stroh
On Fri, 16 Nov 2001 13:19:20 + Steve Alexander <[EMAIL PROTECTED]> wrote: >> Now your users see only those hits in a query which apply to objects >> they are allowed to "View". > > >However, you will be loading each object that is a potential query >result into memory for every query. That c

Re: [Zope-dev] ZCatalog: hiding search results from unauthorized users - hack

2001-11-16 Thread Steve Alexander
Igor Stroh wrote: > > Now your users see only those hits in a query which apply to objects they > are allowed to "View". However, you will be loading each object that is a potential query result into memory for every query. That could be a lot of objects. -- Steve Alexander Software Engineer

[Zope-dev] ZCatalog: hiding search results from unauthorized users - hack

2001-11-16 Thread Igor Stroh
Hi all, in case someone have same problem as me (see "ZCatalog - hiding query results" thread for more info) - I got a solution: - create a product that subclasses ZCatalog - in this product overwrite ZCatalog.getobject with def getobject(self, rid): """foo""" obj = self.aq_parent

[Zope-dev] Where to put time.sleep(0.01) to get around solaris threadingissue?

2001-11-16 Thread Tony McDonald
(this is a bit long - delete it if not interested in Solaris, at least it's not HTML mail! :) Hi, I'm still trying to get our solaris box to work with more than one thread. Briefly, Put the following into a pythonscript; ## Script (Python) "sleeper" ##bind container=container ##bind context=con