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

Tres Seaver tseaver at palladion.com
Mon Nov 21 10:36:47 EST 2005


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

bernd.grobauer at krakel.de wrote:
> Hi list,
> 
> the following question may be trivial to you; I tried to do my best to
> find things out by myself, but did not manage to find anything.
> 
> Here is what I have (on Zope 2.7.5 with 1.0.3 of PAS)
> 
> Rootfolder (with standard userfolder acl_users in it)
> |
> +--test (with PAS userfolder acl_users in it)
> |
> +---subfolder
> index_html (a Python Script)
> 
> My problem is that if index_html contains, say, "script.title", I
> get the error message that I do not have authorization to use 'title'
> in this context. That changes when I take the whole 'test' folder
> and copy it into, say 'test2'. Then "script.title" works fine,
> but if I make another script, things like "script.title" do
> not work -- unless I copy the whole thing to 'test3'...
> 
> Am I missing something obvious? If you already know what's happening,
> please tell me! If not, below are some more details!

where is 'index_html' located?  Is it in the ZODB root?

One thing to try:  enable VerboseSecurity ('verbose-security on' in your
zope.conf file), and retry -- it may give you more information about the
specific reason for the Unauthorized exception.


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

iD8DBQFDgemP+gerLs4ltQ4RAjU8AKDUxF3Ne1OjfVmFltaB+F85vkVNQACfUhc6
BxsLRqIwfnoKbkoaM1h//NY=
=cfLR
-----END PGP SIGNATURE-----



More information about the Zope-PAS mailing list