summaryrefslogtreecommitdiff
path: root/src/mongo/db
diff options
context:
space:
mode:
authorAmalia Hawkins <amalia.hawkins@10gen.com>2015-04-07 15:15:00 -0400
committerAmalia Hawkins <amalia.hawkins@10gen.com>2015-04-07 15:56:11 -0400
commit72543912dca4117e1deb45a56c599657a1bf747c (patch)
tree1cdf5ce32f0be80182f6fef10e2bb7af6a3c03cb /src/mongo/db
parent800ecb5aa8e6c6fec33072562e470b809ff9d0d5 (diff)
downloadmongo-72543912dca4117e1deb45a56c599657a1bf747c.tar.gz
SERVER-17908 Allow getCmdLineOpts to be executed locally against an arbiter in an authenticated replica set
Diffstat (limited to 'src/mongo/db')
-rw-r--r--src/mongo/db/auth/authorization_session.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/auth/authorization_session.cpp b/src/mongo/db/auth/authorization_session.cpp
index a0c7cfe7168..106a6430c5d 100644
--- a/src/mongo/db/auth/authorization_session.cpp
+++ b/src/mongo/db/auth/authorization_session.cpp
@@ -159,6 +159,7 @@ namespace {
ActionSet setupServerConfigActionSet;
setupServerConfigActionSet.addAction(ActionType::addShard);
+ setupServerConfigActionSet.addAction(ActionType::getCmdLineOpts);
setupServerConfigActionSet.addAction(ActionType::replSetConfigure);
setupServerConfigActionSet.addAction(ActionType::replSetGetStatus);
Privilege setupServerConfigPrivilege =