Re: [Zope-CMF] Weird catalog behaviour

2009-01-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charlie Clark wrote: > Am 28.01.2009 um 15:44 schrieb Andreas Jung: > >> Command-line (zopectl debug?): you're anonymous >> ZMI: you're authenticated >> >> The catalog adds additional filters under the hood in order to filter >> out content you are no

Re: [Zope-CMF] Weird catalog behaviour

2009-01-28 Thread Charlie Clark
Am 28.01.2009 um 15:54 schrieb Andreas Jung: > from AccessControl.SecurityManagement import newSecurityManager > user = app.acl_users.getUser(user_name_or_id) > newSecurityManager(None, user.__of__(app.acl_users)) That does indeed solve the problem! Cheers Charlie -- Charlie Clark Helmholtzst

Re: [Zope-CMF] Weird catalog behaviour

2009-01-28 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28.01.2009 15:52 Uhr, Charlie Clark wrote: > Am 28.01.2009 um 15:44 schrieb Andreas Jung: > >> Command-line (zopectl debug?): you're anonymous >> ZMI: you're authenticated >> >> The catalog adds additional filters under the hood in order to filter

Re: [Zope-CMF] Weird catalog behaviour

2009-01-28 Thread Charlie Clark
Am 28.01.2009 um 15:44 schrieb Andreas Jung: > Command-line (zopectl debug?): you're anonymous > ZMI: you're authenticated > > The catalog adds additional filters under the hood in order to filter > out content you are not allowed to see. That could be the explanation - how can I authenticate m

Re: [Zope-CMF] Weird catalog behaviour

2009-01-28 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28.01.2009 15:33 Uhr, Charlie Clark wrote: > Hi, > > is there any reason why a portal_catalog.searchResults() returns an > empty result set when called on the command line but not from within > ZMI? It is the same catalog and I can items to it

[Zope-CMF] Weird catalog behaviour

2009-01-28 Thread Charlie Clark
Hi, is there any reason why a portal_catalog.searchResults() returns an empty result set when called on the command line but not from within ZMI? It is the same catalog and I can items to it but I just can't run a search on it. Any ideas? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf

[Zope-CMF] CMF Tests: 6 OK

2009-01-28 Thread CMF Tests Summarizer
Summary of messages to the cmf-tests list. Period Tue Jan 27 12:00:00 2009 UTC to Wed Jan 28 12:00:00 2009 UTC. There were 6 messages: 6 from CMF Tests. Tests passed OK --- Subject: OK : CMF-2.1 Zope-2.10 Python-2.4.5 : Linux From: CMF Tests Date: Tue Jan 27 21:03:50 EST 2009 URL: ht