[Zope-PAS] Re: Strange authorization problems in subfolders under PAS

Tres Seaver tseaver at palladion.com
Tue Nov 22 08:45:17 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

bernd.grobauer at krakel.de wrote:
> Hi Tres (and list),
> 
> 
>>>One thing to try: enable VerboseSecurity ('verbose-security on'
>>>in your zope.conf file),
>>
>>I'll try that tomorrow when I am back at work -- thanks for the hint.
> 
> 
> now things indeed become clearer -- thanks again for the hint:
> the problem lies with all new objects that are generated within
> a folder under control of PAS under my setup. Although
> 'user/getUserName' in a TAL-script returns user 'zopeadmin',
> the owner of a newly created object is said to be 'auth_zopeadmin' --
> which, of course, does not exist and brings along all kinds of
> authorization problems. 

The user's ID is probably 'auth_zopeadmin', while the login name is
'zopeadmin';  this assumes that your user source (a ZODBUserManager?)
uses the prefix, 'auth'.  If you show 'user/getId', is it 'auth_zopeadmin'?



Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDgyDt+gerLs4ltQ4RAk3AAKC7bUEMXhvXE8CLozS5Spq+KHgEawCghdgH
3LBdBLn+A+o4gh0aViNONE0=
=DJ/e
-----END PGP SIGNATURE-----



More information about the Zope-PAS mailing list