Skip to content

Commit 9db82c3

Browse files
author
Anthony Sansone
committed
(DOCS-11010): Update mongorestore grants.
1 parent 80954c6 commit 9db82c3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

source/includes/access-mongorestore-collections.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@ access to restore any database if the backup data does not include
55

66
.. include:: /includes/fact-restore-role-system.profile.rst
77

8-
If running :binary:`~bin.mongorestore` with :option:`--oplogReplay <mongorestore --oplogReplay>`, the
9-
:authrole:`restore` role is insufficient to replay the oplog. To replay
10-
the oplog, create a :ref:`user-defined role <create-user-defined-role>`
8+
As of MongoDB 3.2.11, you can run :binary:`~bin.mongorestore` with
9+
:option:`--oplogReplay <mongorestore --oplogReplay>` if you have the
10+
:authrole:`restore` role.
11+
12+
To replay the oplog on versions of MongoDB 3.2.10 and earlier, you
13+
must create a :ref:`user-defined role <create-user-defined-role>`
1114
that has :authaction:`anyAction` on :ref:`resource-anyresource` and
1215
grant only to users who must run :binary:`~bin.mongorestore` with
1316
:option:`--oplogReplay <mongorestore --oplogReplay>`.

0 commit comments

Comments
 (0)