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

User manager should not expose internally cached principals

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0, 7.10, 8.1
    • Fix Version/s: 6.0-HF27, 7.10-HF05, 8.2
    • Component/s: Core

      Description

      At this time the user manager is returning it's own version of the user model. This makes the changes onto the user model non atomic and could corrupt the principal's cache as a result.

      By returning a cloned model, we can restrict the cache update to the principal.setModel api.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 2 hours
                  2h