File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -558,7 +558,7 @@ Cluster Administration Roles
558
558
.. versionchanged:: 4.4
559
559
560
560
Starting in version 4.4, :authrole:`hostManager` no longer
561
- provides the :authrole :`cpuProfiler` privilege action on the
561
+ provides the :authaction :`cpuProfiler` privilege action on the
562
562
cluster.
563
563
564
564
On *all* databases in the cluster, provides the following actions:
Original file line number Diff line number Diff line change @@ -91,17 +91,17 @@ Definition
91
91
-------------------------------
92
92
93
93
For clusters enforcing :ref:`authentication <authentication>`,
94
- you must authenticate as a user with the :authrole :`compact` privilege
94
+ you must authenticate as a user with the :authaction :`compact` privilege
95
95
action on the target collection. The :authrole:`dbAdmin` role provides
96
96
the required privileges for running :dbcommand:`compact` against
97
97
non-system collections.
98
98
99
99
For :ref:`system collections <metadata-system-collections>`, create a
100
- custom role that grants the :authrole :`compact` action on the system
100
+ custom role that grants the :authaction :`compact` action on the system
101
101
collection. You can then grant that role to a new or existing user and
102
102
authenticate as that user to perform the :dbcommand:`compact` command.
103
103
For example, the following operations create a custom role that grants
104
- the :authrole :`compact` action against specified database and
104
+ the :authaction :`compact` action against specified database and
105
105
collection:
106
106
107
107
.. code-block:: javascript
You can’t perform that action at this time.
0 commit comments