diff options
author | Shreyas Kalyan <shreyas.kalyan@10gen.com> | 2019-02-04 14:08:32 -0500 |
---|---|---|
committer | Shreyas Kalyan <shreyas.kalyan@10gen.com> | 2019-02-26 19:13:19 -0500 |
commit | a9277e874039f32ce0d848fcdfb10de705c96fd9 (patch) | |
tree | 6bf222fec20aa30afe648d54becb0e0922707b0d /src/mongo/db/auth/authorization_session_impl.h | |
parent | 1ba2e45711fb15801539d0bec022a2a474155c09 (diff) | |
download | mongo-a9277e874039f32ce0d848fcdfb10de705c96fd9.tar.gz |
SERVER-39058 Synchronize user set modification in AuthorizationSession with Client
Diffstat (limited to 'src/mongo/db/auth/authorization_session_impl.h')
-rw-r--r-- | src/mongo/db/auth/authorization_session_impl.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mongo/db/auth/authorization_session_impl.h b/src/mongo/db/auth/authorization_session_impl.h index 0b6026a1e4a..2cdc380ec77 100644 --- a/src/mongo/db/auth/authorization_session_impl.h +++ b/src/mongo/db/auth/authorization_session_impl.h @@ -94,9 +94,11 @@ public: std::string getAuthenticatedUserNamesToken() override; - void logoutDatabase(StringData dbname) override; + void logoutDatabase(OperationContext* opCtx, StringData dbname) override; - void grantInternalAuthorization() override; + void grantInternalAuthorization(Client* client) override; + + void grantInternalAuthorization(OperationContext* opCtx) override; PrivilegeVector getDefaultPrivileges() override; @@ -186,7 +188,7 @@ public: void clearImpersonatedUserData() override; - bool isCoauthorizedWithClient(Client* opClient) override; + bool isCoauthorizedWithClient(Client* opClient, WithLock opClientLock) override; bool isCoauthorizedWith(UserNameIterator userNameIter) override; |