
lists at zopyx
Jan 28, 2009, 6:54 AM
Post #4 of 10
(765 views)
Permalink
|
-----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-----
|