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
558558 .. versionchanged:: 4.4
559559
560560 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
562562 cluster.
563563
564564 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
9191-------------------------------
9292
9393For 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
9595action on the target collection. The :authrole:`dbAdmin` role provides
9696the required privileges for running :dbcommand:`compact` against
9797non-system collections.
9898
9999For :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
101101collection. You can then grant that role to a new or existing user and
102102authenticate as that user to perform the :dbcommand:`compact` command.
103103For 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
105105collection:
106106
107107.. code-block:: javascript
You can’t perform that action at this time.
0 commit comments