[Zope-CMF] Weird catalog behaviour
Tres Seaver
tseaver at palladion.com
Wed Jan 28 15:41:30 EST 2009
-----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 not allowed to see.
>
>
> That could be the explanation - how can I authenticate myself in
> zopectl debug?
You can also call the 'unrestrictedSearchResults' method from trusted
code (e.g., the debugger): it bypasses those checks.
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJgML6+gerLs4ltQ4RAtbpAJ4mUe+r+JYPiaKhIS3d0NBtJcZQZgCgiswu
8Q3IN6aFKTQ08aSNXUOF2as=
=YqHX
-----END PGP SIGNATURE-----
More information about the Zope-CMF
mailing list