summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/authz_manager_external_state.h
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2014-02-14 13:52:02 -0500
committerSpencer T Brody <spencer@mongodb.com>2014-03-03 09:24:06 -0800
commit803ae07cb3eb9cb9051995e9b2ac48958131fb3a (patch)
treebf40563ce77706682d78dbc505c1a827a3f16f37 /src/mongo/db/auth/authz_manager_external_state.h
parent1ffdd358b9fa048794a09bbc644f6043dde15eeb (diff)
downloadmongo-803ae07cb3eb9cb9051995e9b2ac48958131fb3a.tar.gz
SERVER-12116 Return better messages to the user when the authz version field is the wrong type
Diffstat (limited to 'src/mongo/db/auth/authz_manager_external_state.h')
-rw-r--r--src/mongo/db/auth/authz_manager_external_state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/auth/authz_manager_external_state.h b/src/mongo/db/auth/authz_manager_external_state.h
index 22d1a56aab2..8656847036d 100644
--- a/src/mongo/db/auth/authz_manager_external_state.h
+++ b/src/mongo/db/auth/authz_manager_external_state.h
@@ -62,6 +62,7 @@ namespace mongo {
/**
* Retrieves the schema version of the persistent data describing users and roles.
+ * Will leave *outVersion unmodified on non-OK status return values.
*/
virtual Status getStoredAuthorizationVersion(int* outVersion) = 0;