Skip to content

DOCS-12762: replSetReconfigure permission details #3676

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions source/reference/command/replSetReconfig.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ replSetReconfig
Considerations
--------------

Access Control
~~~~~~~~~~~~~~

To run the command on deployments that enforce :doc:`access
control</core/authorization>`, the user must have
:authaction:`replSetConfigure` privilege action on the cluster resource.
The :authrole:`clusterManager` built-in role on the ``admin`` database
provides the required privileges for this command.

Locking Behavior
~~~~~~~~~~~~~~~~

Expand Down
18 changes: 18 additions & 0 deletions source/reference/method/rs.reconfig.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,24 @@ Definition
Consideration
-------------

Access Control
~~~~~~~~~~~~~~

To run the method on deployments that enforce :doc:`access
control</core/authorization>`, the user must have
:authaction:`replSetConfigure` privilege action on the cluster resource.
The :authrole:`clusterManager` built-in role on the ``admin`` database
provides the required privileges for this command.

Locking Behavior
~~~~~~~~~~~~~~~~

:method:`rs.reconfig()` obtains a special mutually
exclusive lock to prevent more than one
:method:`rs.reconfig()` operation from occurring at the same
time.


Mixed Version Replica Set
~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down