[Zope-CMF] Re: [Zope] Newbie Qu: user login in private folders
Ausum Studio
ausum_studio@hotmail.com
Fri, 6 Dec 2002 10:25:49 -0500
1. Create the folder for one of the clients, let's name it 'client1_folder',
from the CMF user interface (needs to be a portal folder).
2. Enter ZMI and go the 'security' tab of 'client1_folder'. Look for the row
'Access contents information' and uncheck the checkbox under 'Acquire
permission settings' and check it under 'Owner'. Accept changes.
3. Click on the 'Contents' tab and add a 'Cookie Crumbler' object. The id is
not important.
4. Back to the CMF interface (logged as manager) go 'client1_folder' and
click on 'Local Roles'. Search for user 'client1' (or whatever your user's
id is), then assing him/her the 'Owner' role.
That's all. As you'll see, you don't need to create a user folder at each
portal folder, just to set up its local roles. Moreover, all the steps
mentioned above can be summarized in an external method, so that you can
attach it to a member joining or to a batch process.
Ausum
ps. This is an issue for the zope-cmf list.Please send any further questions
there.
----- Original Message -----
From: "Matthew" <matthew@exhibit.com.au>
To: <zope@zope.org>
Sent: Friday, December 06, 2002 4:32 AM
Subject: [Zope] Newbie Qu: user login in private folders
> Hi all,
>
> Having a really hard time here. I'm trying to create separate folders
> for each of my clients, and I don't want anyone else but them to access
> anything in the folder.
>
> I've read many ways of settings the permissions to make the folder
> private, and I think I have the hang of that.
>
> The problem: I create a user in their private folder, but they can't log
> in. The only allowable log-ins seem to come from the top CMF folder.
>
> I even tried creating a test without any restrictions just to log in-
> but still only users from the top CMF folder can log in.
>
> Can someone please let me know what I'm doing wrong, or point me in the
> right direction. I know everyones busy, but I really can't figure out
> what's happening.
>
> Many thanks.
>
> Matthew.
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>