[Zope] Folder name from URL etc.

Geir Bækholt lists at elvix.com
Tue Aug 12 16:12:09 EDT 2003


On  Tue, 12 Aug 2003 16:58:11 +0400 GMT (..14:58 where i live(GMT+2) )
Samir Mishra asked the Zope mailinglist about the following:
  
> Hello all,

> How do I go from a URL to an object name? I have acl_users folders defined
> at different levels and I would like to use AUTHENTICATION_PATH to find out
> what level a user has authorization up to. At each folder level I have a
> 'Messages' folder and I'd like to display the contents of the correct folder
> depending on the users' clearance/home folder.

look for restricted_traverse in the API documentation :)



--
Geir Bækholt




More information about the Zope mailing list