diff options
author | Amalia Hawkins <amalia.hawkins@10gen.com> | 2015-04-07 15:15:00 -0400 |
---|---|---|
committer | Amalia Hawkins <amalia.hawkins@10gen.com> | 2015-04-07 15:56:11 -0400 |
commit | 72543912dca4117e1deb45a56c599657a1bf747c (patch) | |
tree | 1cdf5ce32f0be80182f6fef10e2bb7af6a3c03cb /src/mongo/db | |
parent | 800ecb5aa8e6c6fec33072562e470b809ff9d0d5 (diff) | |
download | mongo-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.cpp | 1 |
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 = |