From 9e8840e33747a737f6d50b98a5ab9e25a77dca31 Mon Sep 17 00:00:00 2001 From: Carrie Kim Date: Tue, 25 Feb 2025 16:26:58 -0500 Subject: [PATCH 1/2] (DOCSP-31236) user role requirements for kafka connector --- source/introduction/connect.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/introduction/connect.txt b/source/introduction/connect.txt index a8f1dfa1..4a3eb1fc 100644 --- a/source/introduction/connect.txt +++ b/source/introduction/connect.txt @@ -31,6 +31,12 @@ The following is an example of a connection URI for a MongoDB replica set: To learn more about the connection URI format, see :manual:`Connection String URI Format ` in the MongoDB Manual. +Prerequisites +------------- + +To connect the {+conenctor+} to MongoDB, you need to set ``readWrite`` or +``readAnyDatabase`` and ``clusterMonitor`` roles for the database user. + How to Connect -------------- From 5f862e7fb0cfd267cdd47040a53cec19d2e186ac Mon Sep 17 00:00:00 2001 From: Carrie Kim Date: Mon, 3 Mar 2025 13:14:55 -0500 Subject: [PATCH 2/2] (DOCSP-31236) addresses copy feedback --- source/introduction/connect.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/introduction/connect.txt b/source/introduction/connect.txt index 4a3eb1fc..17c4aa89 100644 --- a/source/introduction/connect.txt +++ b/source/introduction/connect.txt @@ -34,8 +34,11 @@ To learn more about the connection URI format, see Prerequisites ------------- -To connect the {+conenctor+} to MongoDB, you need to set ``readWrite`` or -``readAnyDatabase`` and ``clusterMonitor`` roles for the database user. +To connect the {+conenctor+} to MongoDB, you must grant the database user either +of the following: + +- the ``readWrite`` role +- both the ``readAnyDatabase`` and ``clusterMonitor`` roles How to Connect --------------