summaryrefslogtreecommitdiff
path: root/src/mongo/db/ttl.cpp
diff options
context:
space:
mode:
authorShreyas Kalyan <shreyas.kalyan@10gen.com>2019-02-04 14:08:32 -0500
committerShreyas Kalyan <shreyas.kalyan@10gen.com>2019-02-26 19:13:19 -0500
commita9277e874039f32ce0d848fcdfb10de705c96fd9 (patch)
tree6bf222fec20aa30afe648d54becb0e0922707b0d /src/mongo/db/ttl.cpp
parent1ba2e45711fb15801539d0bec022a2a474155c09 (diff)
downloadmongo-a9277e874039f32ce0d848fcdfb10de705c96fd9.tar.gz
SERVER-39058 Synchronize user set modification in AuthorizationSession with Client
Diffstat (limited to 'src/mongo/db/ttl.cpp')
-rw-r--r--src/mongo/db/ttl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ttl.cpp b/src/mongo/db/ttl.cpp
index 93db8042248..ddbbba429f5 100644
--- a/src/mongo/db/ttl.cpp
+++ b/src/mongo/db/ttl.cpp
@@ -82,7 +82,7 @@ public:
virtual void run() {
ThreadClient tc(name(), getGlobalServiceContext());
- AuthorizationSession::get(cc())->grantInternalAuthorization();
+ AuthorizationSession::get(cc())->grantInternalAuthorization(&cc());
while (!globalInShutdownDeprecated()) {
{