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

Write authorization schema document during write user management commands

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • Security 2024-10-14, Security 2024-10-28, Security 2024-11-11, Security 2024-11-25

      SERVER-83663 removed the server's notion of authorization schema version. Since that schema version has not been updated since MongoDB 3.0 (and MongoDB 8.0 simply fails to start/throws exceptions if it sees a value below 5/ schemaVersion28SCRAM ), we decided that there is no need to continue reading this value for upgrade/downgrade purposes. Future changes to the authorization schema (e.g., any changes to the user or role document's schema) will be gated behind FCV.

      To retain backwards compatibility with lower binVersion servers and any downstream entities that check the authorization schema version, we should continue writing the authorization schema document whenever a write-based user management command is executed.

            Assignee:
            varun.ravichandran@mongodb.com Varun Ravichandran
            Reporter:
            varun.ravichandran@mongodb.com Varun Ravichandran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: