Skip to content

DOCSP-15486 fix build errors #5952

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 7 additions & 24 deletions source/includes/steps-compass-manual-queries.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1,17 @@
title: Enter a query in the query bar
title: Enter a document filter
level: 4
ref: enter-query
action:
pre: |
Queries entered in the query bar must be valid MongoDB syntax. Only
:dbcommand:`finds <find>` will be executed.

This example manually selects documents whose ``departureAirportFsCode`` is
"JFK".

.. figure:: /images/compass/manual-query.png
:alt: Compass query bar with query entered

When a valid query is entered, the bar is colored green and can be
executed. Invalid queries are colored red. The UI will automatically update
to indicate which fields and values are selected in the query.
A document filter must use valid MongoDB syntax. Only
:dbcommand:`finds <find>` can be executed. Invalid filters are
colored red.
---
title: Apply the query
title: Apply a document filter
level: 4
ref: apply
action:
pre: |
After entering a query, run it by clicking the Apply button. To clear the
query, use the Reset button.

Continuing with the example, executing the query displays information on the
matching documents.

.. figure:: /images/compass/manual-query-results.png
:alt: Compass Apply button executes query

To clear a query, use the Reset button.
To run a filter, click the :guilabel:`FIND` button. To clear a
filter, click the :guilabel:`RESET` button.
...
44 changes: 22 additions & 22 deletions source/reference/audit-message.txt
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ associated ``param`` details and the ``result`` values, if any.

* - .. _audit-message-authenticate:

:authaction:`authenticate`
``authenticate``

- .. code-block:: none
:copyable: false
Expand All @@ -189,7 +189,7 @@ associated ``param`` details and the ``result`` values, if any.
mechanism: <mechanism>
}

Starting in MongoDB 5.0, :authaction:`authenticate`:
Starting in MongoDB 5.0, ``authenticate``:

- Is logged for incomplete authentication attempts.

Expand All @@ -207,7 +207,7 @@ associated ``param`` details and the ``result`` values, if any.

* - .. _audit-message-authCheck:

:authaction:`authCheck`
``authCheck``

- .. code-block:: none
:copyable: false
Expand All @@ -227,8 +227,8 @@ associated ``param`` details and the ``result`` values, if any.

.. include:: /includes/fact-auditAuthorizationSuccess-performance-impact.rst

Starting in MongoDB 5.0, :authaction:`authCheck` is not logged
for actions that are generated internally.
Starting in MongoDB 5.0, ``authCheck`` is not logged for actions
that are generated internally.

.. versionchanged:: 5.0

Expand All @@ -238,7 +238,7 @@ associated ``param`` details and the ``result`` values, if any.

* - .. _audit-message-clientMetadata:

:authaction:`clientMetadata`
``clientMetadata``

- .. code-block:: none
:copyable: false
Expand Down Expand Up @@ -308,7 +308,7 @@ associated ``param`` details and the ``result`` values, if any.
- ``0`` - Success


* - :authaction:`createDatabase`
* - ``createDatabase``

- .. code-block:: none
:copyable: false
Expand Down Expand Up @@ -367,7 +367,7 @@ associated ``param`` details and the ``result`` values, if any.

* - .. _audit-message-directAuthMutation:

:authaction:`directAuthMutation`
``directAuthMutation``

- .. code-block:: none
:copyable: false
Expand All @@ -389,7 +389,7 @@ associated ``param`` details and the ``result`` values, if any.
- ``0`` - Success


* - :authaction:`renameCollection`
* - ``renameCollection``

- .. code-block:: none
:copyable: false
Expand Down Expand Up @@ -495,7 +495,7 @@ associated ``param`` details and the ``result`` values, if any.

- ``0`` - Success

* - :authaction:`dropAllUsersFromDatabase`
* - ``dropAllUsersFromDatabase``

- .. code-block:: none
:copyable: false
Expand All @@ -505,7 +505,7 @@ associated ``param`` details and the ``result`` values, if any.

- ``0`` - Success

* - :authaction:`updateUser`
* - ``updateUser``

- .. code-block:: none
:copyable: false
Expand All @@ -529,7 +529,7 @@ associated ``param`` details and the ``result`` values, if any.

- ``0`` - Success

* - :authaction:`grantRolesToUser`
* - ``grantRolesToUser``

- .. code-block:: none
:copyable: false
Expand All @@ -549,7 +549,7 @@ associated ``param`` details and the ``result`` values, if any.

- ``0`` - Success

* - :authaction:`revokeRolesFromUser`
* - ``revokeRolesFromUser``

- .. code-block:: none
:copyable: false
Expand Down Expand Up @@ -601,7 +601,7 @@ associated ``param`` details and the ``result`` values, if any.

- ``0`` - Success

* - :authaction:`updateRole`
* - ``updateRole``

- .. code-block:: none
:copyable: false
Expand Down Expand Up @@ -646,7 +646,7 @@ associated ``param`` details and the ``result`` values, if any.

- ``0`` - Success

* - :authaction:`dropAllRolesFromDatabase`
* - ``dropAllRolesFromDatabase``

- .. code-block:: none
:copyable: false
Expand All @@ -656,7 +656,7 @@ associated ``param`` details and the ``result`` values, if any.

- ``0`` - Success

* - :authaction:`grantRolesToRole`
* - ``grantRolesToRole``

- .. code-block:: none
:copyable: false
Expand All @@ -676,7 +676,7 @@ associated ``param`` details and the ``result`` values, if any.

- ``0`` - Success

* - :authaction:`revokeRolesFromRole`
* - ``revokeRolesFromRole``

- .. code-block:: none
:copyable: false
Expand All @@ -696,7 +696,7 @@ associated ``param`` details and the ``result`` values, if any.

- ``0`` - Success

* - :authaction:`grantPrivilegesToRole`
* - ``grantPrivilegesToRole``

- .. code-block:: none
:copyable: false
Expand All @@ -719,7 +719,7 @@ associated ``param`` details and the ``result`` values, if any.

- ``0`` - Success

* - :authaction:`revokePrivilegesFromRole`
* - ``revokePrivilegesFromRole``

- .. code-block:: none
:copyable: false
Expand Down Expand Up @@ -779,7 +779,7 @@ associated ``param`` details and the ``result`` values, if any.

- ``0`` - Success

* - :authaction:`shardCollection`
* - ``shardCollection``

- .. code-block:: none
:copyable: false
Expand Down Expand Up @@ -861,7 +861,7 @@ associated ``param`` details and the ``result`` values, if any.

* - .. _audit-message-logout:

:authaction:`logout`
``logout``

- .. code-block:: none
:copyable: false
Expand Down Expand Up @@ -895,7 +895,7 @@ associated ``param`` details and the ``result`` values, if any.

* - .. _audit-message-startup:

:authaction:`startup`
``startup``

- .. code-block:: none
:copyable: false
Expand Down
7 changes: 0 additions & 7 deletions source/reference/built-in-roles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -247,19 +247,15 @@ Cluster Administration Roles
- :authaction:`cleanupOrphaned`
- :authaction:`flushRouterConfig`
- :authaction:`getDefaultRWConcern` (New in version 4.4)

- :authaction:`listSessions` (New in version 3.6)

- :authaction:`listShards`
- :authaction:`removeShard`
- :authaction:`replSetConfigure`
- :authaction:`replSetGetConfig`
- :authaction:`replSetGetStatus`
- :authaction:`replSetStateChange`
- :authaction:`resync`

- :authaction:`setDefaultRWConcern` (New in version 4.4)

- :authaction:`setFeatureCompatibilityVersion`
- :authaction:`setFreeMonitoring`

Expand Down Expand Up @@ -399,16 +395,13 @@ Cluster Administration Roles
- :authaction:`hostInfo`
- :authaction:`inprog`
- :authaction:`listDatabases`

- :authaction:`listSessions` (New in version 3.6)

- :authaction:`listShards`
- :authaction:`netstat`
- :authaction:`replSetGetConfig`
- :authaction:`replSetGetStatus`
- :authaction:`serverStatus`
- :authaction:`setFreeMonitoring` (New in version 4.0)

- :authaction:`shardingState`
- :authaction:`top`

Expand Down
2 changes: 1 addition & 1 deletion source/reference/command/mapReduce.txt
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ collection <mapreduce-out-mtd>`:

- :authaction:`find`,
- :authaction:`insert`,
- :authaction:`replace`
- :authaction:`remove`

Map-reduce with the ``merge`` or ``reduce`` actions when
:ref:`outputting to a collection <mapreduce-out-mtd>`:
Expand Down
17 changes: 8 additions & 9 deletions source/reference/command/setAuditConfig.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,13 @@ Behavior
Enable :doc:`Auditing </core/auditing>` to use
:dbcommand:`setAuditConfig` at runtime.

:parameter:`auditAuthorizationSuccess` enables
:doc:`auditing </core/auditing>` of authorization success for the
:ref:`authCheck <audit-action-details-results>` action. The parameter
value must be ``true`` to audit :authaction:`read` and
:authaction:`write` operations. However, when
:parameter:`auditAuthorizationSuccess` enables :doc:`auditing
</core/auditing>` of authorization success for the :ref:`authCheck
<audit-action-details-results>` action. The parameter value must be
``true`` to audit read and write operations. However, when
:parameter:`auditAuthorizationSuccess` is ``false`` auditing has less
performance impact because the :doc:`audit system </core/auditing>`
only logs authorization failures.
performance impact because the :doc:`audit system </core/auditing>` only
logs authorization failures.

Configuration updates are distributed via the :term:`oplog` mechanism
which means updates on :binary:`~bin.mongod` nodes are distributed to
Expand Down Expand Up @@ -146,8 +145,8 @@ Audit Document Interactions
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Set :parameter:`auditAuthorizationSuccess` to ``true`` and create a
filter which includes actions of interest to audit :authaction:`read`
and :authaction:`write` operations.
filter which includes actions of interest to audit read and write
operations.


.. code-block:: javascript
Expand Down
12 changes: 12 additions & 0 deletions source/reference/privilege-actions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,13 @@ Database Management Actions
User can kill **any** cursor, even cursors created by other users.
Apply this action to collection resources.

.. authaction:: planCacheIndexFilter

User can run the :dbcommand:`planCacheClearFilters`,
:dbcommand:`planCacheListFilters`, and
:dbcommand:`planCacheSetFilter` commands. Apply the
:authaction:`planCacheIndexFilter` action to collection resources.

.. authaction:: revokeRole

User can remove any role from any user from any database in the system.
Expand Down Expand Up @@ -302,6 +309,11 @@ Database Management Actions

Apply this action to database resources.

.. authaction:: setFeatureCompatibilityVersion

User can run the :dbcommand:`setFeatureCompatibilityVersion` command.
Apply this action to the ``cluster`` resource.

.. authaction:: unlock

User can perform the :method:`db.fsyncUnlock()` method. Apply this
Expand Down
4 changes: 2 additions & 2 deletions source/reference/program/mongo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

.. default-domain:: mongodb

.. only:: (not man)
.. cond:: (not man)

.. binary:: mongo

Expand Down Expand Up @@ -435,7 +435,7 @@ Core Options
Specifies a JavaScript file to run and then exit. Generally this should
be the last option specified.

.. optional::
.. note:: Optional

To specify a JavaScript file to execute *and* allow
:program:`mongo` to prompt you for a password using
Expand Down
2 changes: 1 addition & 1 deletion source/reference/program/mongod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

.. default-domain:: mongodb

.. only:: (not man)
.. cond:: (not man)

.. binary:: mongod

Expand Down
2 changes: 1 addition & 1 deletion source/reference/program/mongokerberos.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

.. default-domain:: mongodb

.. only:: (not man)
.. cond:: (not man)

.. binary:: mongokerberos

Expand Down
2 changes: 1 addition & 1 deletion source/reference/program/mongoldap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

.. default-domain:: mongodb

.. only:: (not man)
.. cond:: (not man)

.. binary:: mongoldap

Expand Down
2 changes: 1 addition & 1 deletion source/reference/program/mongos.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

.. default-domain:: mongodb

.. only:: (not man)
.. cond:: (not man)

.. binary:: mongos

Expand Down
Loading