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. TIA. Regards, Samir
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
On Tue, Aug 12, 2003 at 03:12:09PM +0200, Geir B?kholt wrote:
look for restricted_traverse in the API documentation :)
You may have better luck looking for restrictedTraverse ;-) There is also unrestrictedTraverse. -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's DJ FROM PARIS! (random hero from isometric.spaceninja.com)
participants (3)
-
Geir Bækholt -
Paul Winkler -
Samir Mishra