Skip to content

Commit dd0de9d

Browse files
committed
DOCS-9887: reformat 3.4 roles changes for readability
1 parent 3dc287c commit dd0de9d

File tree

3 files changed

+36
-26
lines changed

3 files changed

+36
-26
lines changed
Lines changed: 34 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,43 @@
11
The privileges of the following built-in roles no longer apply to the
22
``local`` and ``config`` databases:
33

4-
- :authrole:`readAnyDatabase`
4+
.. list-table::
5+
:widths: 30 70
6+
7+
* - :authrole:`readAnyDatabase`
58

6-
To provide ``read`` privileges on the ``local`` database, create a
7-
user in the ``admin`` database with :authrole:`read` role in the
8-
``local`` database. See also :authrole:`clusterManager` and
9-
:authrole:`clusterMonitor` role for access to the ``config`` and
10-
``local`` databases.
9+
- Starting in 3.4, to provide ``read`` privileges on the ``local``
10+
database, create a user in the ``admin`` database with
11+
:authrole:`read` role in the ``local`` database. See also
12+
:authrole:`clusterManager` and :authrole:`clusterMonitor` role
13+
for access to the ``config`` and ``local`` databases.
1114

12-
- :authrole:`readWriteAnyDatabase`
15+
* - :authrole:`readWriteAnyDatabase`
1316

14-
To provide ``readWrite`` privileges on the ``local`` database, create
15-
a user in the ``admin`` database with :authrole:`readWrite` role in
16-
the ``local`` database. See also :authrole:`clusterManager` and
17-
:authrole:`clusterMonitor` role for access to the ``config`` and
18-
``local`` databases.
19-
20-
- :authrole:`userAdminAnyDatabase`, and
17+
- Starting in 3.4, to provide ``readWrite`` privileges on the
18+
``local`` database, create a user in the ``admin`` database with
19+
:authrole:`readWrite` role in the ``local`` database. See also
20+
:authrole:`clusterManager` and :authrole:`clusterMonitor` role
21+
for access to the ``config`` and ``local`` databases.
22+
23+
* - :authrole:`userAdminAnyDatabase`
24+
-
25+
26+
* - :authrole:`dbAdminAnyDatabase`
27+
28+
- Starting in 3.4, to provide ``dbAdmin`` privileges on the
29+
``local`` database, create a user in the ``admin`` database with
30+
:authrole:`dbAdmin` role in the ``local`` database. See also
31+
:authrole:`clusterManager` and :authrole:`clusterMonitor` role
32+
for access to the ``config`` and ``local`` databases.
33+
34+
Correspondingly, the following built-in roles include additional read
35+
and write privileges on ``local`` and ``config`` databases:
36+
37+
- :authrole:`clusterManager`
2138

22-
- :authrole:`dbAdminAnyDatabase`
39+
- :authrole:`clusterMonitor`
2340

24-
To provide ``dbAdmin`` privileges on the ``local`` database, create a
25-
user in the ``admin`` database with :authrole:`dbAdmin` role in the
26-
``local`` database. See also :authrole:`clusterManager` and
27-
:authrole:`clusterMonitor` role for access to the ``config`` and
28-
``local`` databases.
41+
- :authrole:`backup`
2942

30-
Correspondingly, the :authrole:`clusterManager`,
31-
:authrole:`clusterMonitor`, :authrole:`backup`, and :authrole:`restore`
32-
roles include additional read and write privileges on ``local`` and
33-
``config`` databases.
43+
- :authrole:`restore`.

source/release-notes/3.4-compatibility.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ to downgrade, you must remove data related to these incompatible
213213
features from your database before downgrading the binaries.
214214

215215
.. _3.4-driver-compatibility:
216-
216+
217217
Driver Compatibility Changes
218218
----------------------------
219219

source/release-notes/3.4.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ instance, and then replay the commands back onto another host at a
687687
later time.
688688

689689
General Enhancements
690-
--------------------
690+
--------------------
691691

692692
MongoDB 3.4 includes the following enhancements:
693693

0 commit comments

Comments
 (0)