Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22827

Fix NuxeoPrincipalImpl copy constructor

    XMLWordPrintable

    Details

    • Release Notes Summary:
      It is now possible to copy a NuxeoPrincipal object with its context data
    • Backlog priority:
      400
    • Sprint:
      nxfit 9.3.5, nxfit 9.3.6
    • Story Points:
      3

      Description

      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:

      1. install nuxeo
      2. bind it to LDAP in multi-directory mode
      3. set LDAP as read-only server-side
      4. head over to Home/Profile/Actions
      5. 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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 2 hours
                1d 2h