[Zope] proxy roles

Jonathan Hobbs toolkit at magma.ca
Wed Mar 9 07:53:47 EST 2005


From: "Eddy Ilg" <eddy at fericom.net>
> I have a portal, that can have members. The member data ist stored in
> zclass instances (called Member) and at the same in normal zope users in
> UserFolders.
>
> If a member has the "admin" role, I want the member to be able to add
> another member.
>
> For this I wrote a script called "newMemberAction" (see bottom), which
> should create a new user and Member instance for the passed member data.
> I gave this script the proxy role "Manager".
>
> When I execute the script, I keep geting a login dialog. When I remove
> the line
> container.members.manage_addProduct["Member"].Member_add(Vorname,Nachname)
> it works (but of course does not create the Member instance).
>
> Why can I not create this zclass isntance?
>

Does the 'members' folder have a security setting which enables 'Managers'
to add your zclass instance?


Jonathan




More information about the Zope mailing list