[Zope] Checking zope userfolder root
Jens Vagelpohl
jens@zope.com
Wed, 18 Sep 2002 07:46:53 -0400
don't do that. just grab the user object and look for its original
container, which will give you the user folder.
user_obj.aq_inner.aq_parent is what you want.
jens
On Wednesday, Sep 18, 2002, at 05:27 US/Eastern, chrisf wrote:
> Can this be done from a script?
>
> Lets say you have the following directory structure:
>
> ROOT/A/B/C/D/E
>
> user TEMP is in the acl_user folder in the 'C' directory and hence can
> log in only at ROOT/A/B/C directory and upwards.
> lets say he logs in a ROOT/A/B/C/D/E/F
> I would like to know at which level he was authorized.
> I am not keen about changing manage user permissions.
> In otherwords I would like a script that loops back through parents
> checking to see if folders can be viewed.
> How can one predict whether a user authorization dialogue will appear.
> How can one interupt a authorization dialogue from appearing.
>
>
> Thanks Chris
>