Documentation Request Summary:
In order to run a change stream on the whole database, a user needs the "find" and "changeStream" actions on the whole database. i.e. a role with
{resource: {db: <dbname>, collection: ""}, actions: ["find", "changeStream"]}
|
Similarly, a user needs those actions on any database, any collection to run a change stream on the whole cluster:
{resource: {db: "", collection: ""}, actions: ["find", "changeStream"]}
|
I don't see a DOCS ticket for the original change streams, but for change streams on single collections (db.coll.watch()), you need those actions on the particular collection only.
Scope of changes:
- update /changeStreams.txt page
- all three methods
- reference/privilege-actions since changeStreams was never added in 3.6
Impact to other docs outside of this product:
none but will need to see about driver examples
MVP:
Resources:
|