Skip to content

Commit f8be367

Browse files
author
Anthony Sansone
committed
(DOCS-11010): Update mongorestore grants.
1 parent e6f62d0 commit f8be367

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

source/includes/access-mongorestore-collections.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ 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>`
11-
that has :authaction:`anyAction` on :ref:`resource-anyresource` and
12-
grant only to users who must run :binary:`~bin.mongorestore` with
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. To replay the oplog on versions of MongoDB
11+
3.2.10 and earlier, you must create a
12+
:ref:`user-defined role <create-user-defined-role>` that has
13+
:authaction:`anyAction` on :ref:`resource-anyresource` and grant only
14+
to users who must run :binary:`~bin.mongorestore` with
1315
:option:`--oplogReplay <mongorestore --oplogReplay>`.
1416

15-
1617
.. COMMENT per the following commit, choosing the anyAction/anyResource
1718
over the __system role.
1819
https://github.com/mongodb/docs/commit/237c44cd3b6e4b7dbe0c9077b7571c8b7ec5d7a5

0 commit comments

Comments
 (0)