Affects Version/s: 6.0, 7.10, 8.10, 9.2
Component/s: User Profile / User Manager
The copy constructor of NuxeoPrincipalImpl does not copy the context data of the underlying user DocumentModel, so the new NuxeoPrincipalImpl is not the same one as the original one.
This issue leads to the following problem:
- install nuxeo
- bind it to LDAP in multi-directory mode
- set LDAP as read-only server-side
- head over to Home/Profile/Actions
- observe the Change password option is available (see changePassword.png screenshot)
Note that this is only an UI issue, the password cannot be changed anyway as the read only check is done in the directory session.