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

Use AuthPrevalidated for auth-specific de/serialization

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Server Serverless 2023-09-18, Server Serverless 2023-10-02

      A number of call sites are left that de/serialize in non-standard ways.  Auth has special requirements for de/serialization that may not necessarily be used to access a tenant-scoped namespace, for example creating initial users without tenantIds, creating certificates for auth commands, or pattern matching.

      We should use the AuthPrevalidated serialization context built in SERVER-74896 (built for pattern matching) wherever we are de/serializing for auth-specific functionality.

            Assignee:
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Reporter:
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: