diff options
Diffstat (limited to 'src/mongo')
-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 = |