Skip to content

Commit 6cc3aca

Browse files
authored
fix code typo (#351)
1 parent 571ea48 commit 6cc3aca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/reference/api/start.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ To set a custom role for the ``mongosync`` user:
4141
db.adminCommand( {
4242
createRole: "reverseSync",
4343
privileges: [ {
44-
resource: { db: "", collection: "" },
44+
resource: { cluster: true },
4545
actions: [ "setUserWriteBlockMode", "bypassWriteBlockingMode" ]
4646
} ],
4747
roles: []

0 commit comments

Comments
 (0)