Skip to content

Commit f8e8315

Browse files
skerschbravindk89
authored andcommitted
DOCSP-2557: add changeStream action to read role
1 parent 6e8662c commit f8e8315

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

source/reference/built-in-roles.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ Every database includes the following client roles:
5252
The role provides read access by granting the following :ref:`actions
5353
<security-user-actions>`:
5454

55+
- :authaction:`changeStream`
5556
- :authaction:`collStats`
5657
- :authaction:`dbHash`
5758
- :authaction:`dbStats`

source/reference/method/Mongo.watch.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ have a :ref:`role <roles>` that grants the following :ref:`privilege
8787

8888
{ resource: { db: "", collection: "" }, actions: [ "find", "changeStream" ] }
8989

90+
The built-in :authrole:`read` role provides the appropriate
91+
privileges.
92+
9093
Example
9194
-------
9295

source/reference/method/db.collection.watch.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ have a :ref:`role <roles>` that grants the following :ref:`privilege
8383

8484
{ resource: { db: <dbname>, collection: <collection> }, actions: [ "find", "changeStream" ] }
8585

86+
87+
The built-in :authrole:`read` role provides the appropriate
88+
privileges.
89+
8690
Examples
8791
--------
8892

source/reference/method/db.watch.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ have a :ref:`role <roles>` that grants the following :ref:`privilege
9191
.. code-block:: javascript
9292

9393
{ resource: { db: <dbname>, collection: "" }, actions: [ "find", "changeStream"] }
94+
95+
The built-in :authrole:`read` role provides the appropriate
96+
privileges.
9497

9598
Example
9699
-------

0 commit comments

Comments
 (0)