diff options
author | Spencer Jackson <spencer.jackson@mongodb.com> | 2017-08-08 15:13:51 -0400 |
---|---|---|
committer | Spencer Jackson <spencer.jackson@mongodb.com> | 2017-08-11 15:19:33 -0400 |
commit | 718e9c68e0526e2db4fbfd0ecac31eae1b3a095a (patch) | |
tree | eb077f4a2facde33afbd5eb65b33f027d32ad586 /src/mongo/db/auth/authorization_session.h | |
parent | ba11e4172e8d5f9149a212a0b42da60873338527 (diff) | |
download | mongo-718e9c68e0526e2db4fbfd0ecac31eae1b3a095a.tar.gz |
SERVER-30566: Unwind SERVER-28190
Diffstat (limited to 'src/mongo/db/auth/authorization_session.h')
-rw-r--r-- | src/mongo/db/auth/authorization_session.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mongo/db/auth/authorization_session.h b/src/mongo/db/auth/authorization_session.h index eccb2dcbbc3..7da7d21c9a1 100644 --- a/src/mongo/db/auth/authorization_session.h +++ b/src/mongo/db/auth/authorization_session.h @@ -305,12 +305,9 @@ protected: private: // If any users authenticated on this session are marked as invalid this updates them with // up-to-date information. May require a read lock on the "admin" db to read the user data. - // - // When refreshing a user document, we will use the current user's id to confirm that our - // user is of the same generation as the refreshed user document. If the generations don't - // match we will remove the outdated user document from the cache. void _refreshUserInfoAsNeeded(OperationContext* opCtx); + // Checks if this connection is authorized for the given Privilege, ignoring whether or not // we should even be doing authorization checks in general. Note: this may acquire a read // lock on the admin database (to update out-of-date user privilege information). |