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

Disable AuthorizationContract in non-test mode

    XMLWordPrintableJSON

Details

    • Server Security
    • Fully Compatible
    • v7.0
    • Security 2023-06-12

    Description

      AuthorizationContract exists to validate, in test mode, that the API conforms to the contract specified in IDL. These checks are largely disabled in production code but we should go further and disable the accounting in AuthorizationContract also. For instance, there is no need to take the mutex in AuthorizationContract::addAccessCheck if we are never going to verify the contract.

      Attachments

        Activity

          People

            adrian.gonzalez@mongodb.com Adrian Gonzalez Montemayor
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: