Dave Cinege <dcinege-mlists@psychosis.com> 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 -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D +33 1 40 33 71 59 http://nuxeo.com fg@nuxeo.com