Dave Cinege  <[EMAIL PROTECTED]> wrote:
> self.login.credentialsChanged(reqd['username'],reqd['username'],reqd['password'])
> Both before and after 
>   self.acl_users.userFolderEditUser(reqd['username'],reqd['password'],'','')

That should be
   self.acl_users.userFolderEditUser(username, password, roles, domains)
the domains may be [] (it's hardly ever used) but the roles have to be
the roles you give to the user.

You may want to do
  username = reqd['username']
  password = reqd['password']
  aclu = self.acl_users
  user = aclu.getUser(username)
  if user is not None:
      aclu.userFolderEditUser(username, password,
                              user.getRoles(), user.getDomains())


Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to