Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-29911

Use shared_ptr in Restriction sets instead of unique_ptr

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.10
    • Affects Version/s: None
    • Component/s: None
    • None
    • Minor Change
    • Platforms 2017-07-10
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The way we actually want to use Restriction sets in the RolesGraph and on User objects means that we potentially want to create many common references to the same authenticationRestrictions and their cross-products.

      This means either making them sharable, or at the very least copyable. Let's go for shared_ptrs and simplify our lives.

            Assignee:
            sara.golemon@mongodb.com Sara Golemon (Inactive)
            Reporter:
            sara.golemon@mongodb.com Sara Golemon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None