summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/authorization_session_impl.h
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2021-05-11 17:36:06 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-12 15:11:07 +0000
commit0e82245a62542483e88c7a46abde402ac91ac9ca (patch)
tree74b0495c7ee30f35e12b4d21b2f0e507167287ec /src/mongo/db/auth/authorization_session_impl.h
parentc8acbf14bff6ae3aef1f0d3562ba95dde48663b5 (diff)
downloadmongo-0e82245a62542483e88c7a46abde402ac91ac9ca.tar.gz
SERVER-55908 Remove feature flag featureFlagAuthorizationContract
Diffstat (limited to 'src/mongo/db/auth/authorization_session_impl.h')
-rw-r--r--src/mongo/db/auth/authorization_session_impl.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mongo/db/auth/authorization_session_impl.h b/src/mongo/db/auth/authorization_session_impl.h
index aa9b1d9bac7..8887a06fc4b 100644
--- a/src/mongo/db/auth/authorization_session_impl.h
+++ b/src/mongo/db/auth/authorization_session_impl.h
@@ -202,12 +202,5 @@ private:
// of authorization checks they perform. After a command completes running, MongoDB verifies the
// set of checks performed is a subset of the checks declared in the contract.
AuthorizationContract _contract;
-
- // Contract checking is feature guarded. As such we may decide at the start of command to not
- // track it but reach a different decision after the command has been run because the FCV has
- // changed. We must record our first decision.
- //
- // TODO SERVER-55908 - remove this variable after the feature flag is removed.
- bool _checkContracts;
};
} // namespace mongo