[Zope] Authorization failure

Sture Lygren sture@rocketrange.no
Sat, 02 Oct 1999 20:51:21 +0200


Hi!

I'm stuck with a problem here and hope someone can help me out ...

I try to make a folder & file tree view using the code:

DTML-method - show_tree

<dtml-tree branches_expr="objectValues(['Folder, 'File'])"
sort=meta_type>
<dtml-var title_or_id>
</dtml-tree>

Accessing the show_tree method as manager displays all correctly, but
when I try to access the method as another user I get 'authorization
failed'. I find this strange since the user has aquired the permissions
: 'access contents information' and 'view' to the methods parent folder,
the same permission setting is set for the folders and files therein.

I can trick it so that the user is proxyed as manager on the method, but
thats not what I want - I will block access to all but the authenticated
users private files and folders in the future.

Please tell me whats I do wrong and how I can fix this.

Thanks in advance

Sture Lygren