summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmalia Hawkins <amalia.hawkins@10gen.com>2015-04-09 13:39:37 -0400
committerAmalia Hawkins <amalia.hawkins@10gen.com>2015-04-09 13:39:58 -0400
commit9a4fec8245ca1f50efa3e5282d0e6f7a7361c244 (patch)
treee763c04ae310fdff18cb4e1a2a1c84799e0ffbb7
parent4afe8edcb27537f6d2f13dd7ccae700cc3b4efb8 (diff)
downloadmongo-9a4fec8245ca1f50efa3e5282d0e6f7a7361c244.tar.gz
SERVER-17908 Allow getCmdLineOpts to be executed locally against an arbiter in an authenticated replica set
(cherry picked from commit 72543912dca4117e1deb45a56c599657a1bf747c)
-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 00b3b953782..f15a6f92bf8 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 =