-----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
>> out content you are not allowed to see.
> 
> 
> That could be the explanation - how can I authenticate myself in  
> zopectl debug?
>

from AccessControl.SecurityManagement import newSecurityManager
user = app.acl_users.getUser(user_name_or_id)
newSecurityManager(None, user.__of__(app.acl_users))

Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkmAcZIACgkQCJIWIbr9KYz0eACeKS60A0Ul3K9R5UOWpA10kB1g
j+AAoKnST3497uMEmZcmQlgS3zxWG7Ji
=Kv1B
-----END PGP SIGNATURE-----
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Reply via email to