[Zope-CMF] Allow Manager to edit properties of other users

Jean Jordaan jean@upfrontsystems.co.za
Thu, 12 Dec 2002 10:05:08 +0200


Chris Withers wrote:
>> member.setMemberProperties(REQUEST)
> 
> replace this line with:
> 
> context.portal_registration.editMember(member_id=member.getId(),
>                                        properties=REQUEST)

<pedantic>
Shouldn't that be::

   registration_tool = context.getToolByName('portal_registration')
   registration_tool.editMember(member_id=member.getId(),
                                properties=REQUEST)

</pedantic>

-- 
Jean Jordaan
http://www.upfrontsystems.co.za