[Zope-CMF] allow managers to use setMemberProperties() method
Troy Farrell
troy@entheossoft.com
Mon, 17 Mar 2003 11:36:49 -0600
I use an external method to accomplish this:
def setAMembersProperties(self, uid, props):
""" Set the properties in props (a mapping)
for portal member with id uid.
"""
mtool = self.portal_membership
member = mtool.getMemberById(uid)
member.setMemberProperties(props)
Make sure you setup the permissions on the External method properly.
Otherwise, bad things will happen. Bad things, man.
Troy
David Bain wrote:
> Is there a workaround that will allow a manager to edit memberdata using
> setMemberProperties().
>
> from my experience and according to the URL below
> http://cmf.zope.org/design/interfaces/membership/IF_Member/talkback/1010874477/view
> it is currently not possible.
>
>