summaryrefslogtreecommitdiff
path: root/src/mongo/db/clientcursor.cpp
diff options
context:
space:
mode:
authorTess Avitabile <tess.avitabile@mongodb.com>2017-03-10 13:19:51 -0500
committerTess Avitabile <tess.avitabile@mongodb.com>2017-03-17 10:09:58 -0400
commit9e7974e4b6e2b3fe5e7741dce6549624113af196 (patch)
treee5d9840faefc88ae5ba3fb81e2e481fe1bc5cd39 /src/mongo/db/clientcursor.cpp
parent5df5125fd63295a9b71d79e68a84ba51e0c1c87f (diff)
downloadmongo-9e7974e4b6e2b3fe5e7741dce6549624113af196.tar.gz
SERVER-9609 Ensure users can only call getMore on cursors they created
Diffstat (limited to 'src/mongo/db/clientcursor.cpp')
-rw-r--r--src/mongo/db/clientcursor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/clientcursor.cpp b/src/mongo/db/clientcursor.cpp
index 70003c2da2b..a662ac9dfbe 100644
--- a/src/mongo/db/clientcursor.cpp
+++ b/src/mongo/db/clientcursor.cpp
@@ -82,6 +82,7 @@ ClientCursor::ClientCursor(ClientCursorParams&& params,
CursorId cursorId)
: _cursorid(cursorId),
_nss(std::move(params.nss)),
+ _authenticatedUsers(std::move(params.authenticatedUsers)),
_isReadCommitted(params.isReadCommitted),
_cursorManager(cursorManager),
_originatingCommand(params.originatingCommandObj),