Disable AuthorizationContract in non-test mode

XMLWordPrintableJSON

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

      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.

            Assignee:
            Adrian Gonzalez Montemayor
            Reporter:
            Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: