Skip to content

Commit dea275d

Browse files
jason-price-mongodbjeff-allen-mongo
jason-price-mongodb
authored andcommitted
DOCSP-15486 fix build errors
1 parent 2a3136f commit dea275d

19 files changed

+1762
-1627
lines changed
Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,17 @@
1-
title: Enter a query in the query bar
1+
title: Enter a document filter
22
level: 4
33
ref: enter-query
44
action:
55
pre: |
6-
Queries entered in the query bar must be valid MongoDB syntax. Only
7-
:dbcommand:`finds <find>` will be executed.
8-
9-
This example manually selects documents whose ``departureAirportFsCode`` is
10-
"JFK".
11-
12-
.. figure:: /images/compass/manual-query.png
13-
:alt: Compass query bar with query entered
14-
15-
When a valid query is entered, the bar is colored green and can be
16-
executed. Invalid queries are colored red. The UI will automatically update
17-
to indicate which fields and values are selected in the query.
6+
A document filter must use valid MongoDB syntax. Only
7+
:dbcommand:`finds <find>` can be executed. Invalid filters are
8+
colored red.
189
---
19-
title: Apply the query
10+
title: Apply a document filter
2011
level: 4
2112
ref: apply
2213
action:
2314
pre: |
24-
After entering a query, run it by clicking the Apply button. To clear the
25-
query, use the Reset button.
26-
27-
Continuing with the example, executing the query displays information on the
28-
matching documents.
29-
30-
.. figure:: /images/compass/manual-query-results.png
31-
:alt: Compass Apply button executes query
32-
33-
To clear a query, use the Reset button.
15+
To run a filter, click the :guilabel:`FIND` button. To clear a
16+
filter, click the :guilabel:`RESET` button.
3417
...

source/reference/audit-message.txt

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ associated ``param`` details and the ``result`` values, if any.
178178

179179
* - .. _audit-message-authenticate:
180180

181-
:authaction:`authenticate`
181+
``authenticate``
182182

183183
- .. code-block:: none
184184
:copyable: false
@@ -189,7 +189,7 @@ associated ``param`` details and the ``result`` values, if any.
189189
mechanism: <mechanism>
190190
}
191191

192-
Starting in MongoDB 5.0, :authaction:`authenticate`:
192+
Starting in MongoDB 5.0, ``authenticate``:
193193

194194
- Is logged for incomplete authentication attempts.
195195

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

208208
* - .. _audit-message-authCheck:
209209

210-
:authaction:`authCheck`
210+
``authCheck``
211211

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

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

230-
Starting in MongoDB 5.0, :authaction:`authCheck` is not logged
231-
for actions that are generated internally.
230+
Starting in MongoDB 5.0, ``authCheck`` is not logged for actions
231+
that are generated internally.
232232

233233
.. versionchanged:: 5.0
234234

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

239239
* - .. _audit-message-clientMetadata:
240240

241-
:authaction:`clientMetadata`
241+
``clientMetadata``
242242

243243
- .. code-block:: none
244244
:copyable: false
@@ -308,7 +308,7 @@ associated ``param`` details and the ``result`` values, if any.
308308
- ``0`` - Success
309309

310310

311-
* - :authaction:`createDatabase`
311+
* - ``createDatabase``
312312

313313
- .. code-block:: none
314314
:copyable: false
@@ -367,7 +367,7 @@ associated ``param`` details and the ``result`` values, if any.
367367

368368
* - .. _audit-message-directAuthMutation:
369369

370-
:authaction:`directAuthMutation`
370+
``directAuthMutation``
371371

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

391391

392-
* - :authaction:`renameCollection`
392+
* - ``renameCollection``
393393

394394
- .. code-block:: none
395395
:copyable: false
@@ -495,7 +495,7 @@ associated ``param`` details and the ``result`` values, if any.
495495

496496
- ``0`` - Success
497497

498-
* - :authaction:`dropAllUsersFromDatabase`
498+
* - ``dropAllUsersFromDatabase``
499499

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

506506
- ``0`` - Success
507507

508-
* - :authaction:`updateUser`
508+
* - ``updateUser``
509509

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

530530
- ``0`` - Success
531531

532-
* - :authaction:`grantRolesToUser`
532+
* - ``grantRolesToUser``
533533

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

550550
- ``0`` - Success
551551

552-
* - :authaction:`revokeRolesFromUser`
552+
* - ``revokeRolesFromUser``
553553

554554
- .. code-block:: none
555555
:copyable: false
@@ -601,7 +601,7 @@ associated ``param`` details and the ``result`` values, if any.
601601

602602
- ``0`` - Success
603603

604-
* - :authaction:`updateRole`
604+
* - ``updateRole``
605605

606606
- .. code-block:: none
607607
:copyable: false
@@ -646,7 +646,7 @@ associated ``param`` details and the ``result`` values, if any.
646646

647647
- ``0`` - Success
648648

649-
* - :authaction:`dropAllRolesFromDatabase`
649+
* - ``dropAllRolesFromDatabase``
650650

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

657657
- ``0`` - Success
658658

659-
* - :authaction:`grantRolesToRole`
659+
* - ``grantRolesToRole``
660660

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

677677
- ``0`` - Success
678678

679-
* - :authaction:`revokeRolesFromRole`
679+
* - ``revokeRolesFromRole``
680680

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

697697
- ``0`` - Success
698698

699-
* - :authaction:`grantPrivilegesToRole`
699+
* - ``grantPrivilegesToRole``
700700

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

720720
- ``0`` - Success
721721

722-
* - :authaction:`revokePrivilegesFromRole`
722+
* - ``revokePrivilegesFromRole``
723723

724724
- .. code-block:: none
725725
:copyable: false
@@ -779,7 +779,7 @@ associated ``param`` details and the ``result`` values, if any.
779779

780780
- ``0`` - Success
781781

782-
* - :authaction:`shardCollection`
782+
* - ``shardCollection``
783783

784784
- .. code-block:: none
785785
:copyable: false
@@ -861,7 +861,7 @@ associated ``param`` details and the ``result`` values, if any.
861861

862862
* - .. _audit-message-logout:
863863

864-
:authaction:`logout`
864+
``logout``
865865

866866
- .. code-block:: none
867867
:copyable: false
@@ -895,7 +895,7 @@ associated ``param`` details and the ``result`` values, if any.
895895

896896
* - .. _audit-message-startup:
897897

898-
:authaction:`startup`
898+
``startup``
899899

900900
- .. code-block:: none
901901
:copyable: false

source/reference/built-in-roles.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -247,19 +247,15 @@ Cluster Administration Roles
247247
- :authaction:`cleanupOrphaned`
248248
- :authaction:`flushRouterConfig`
249249
- :authaction:`getDefaultRWConcern` (New in version 4.4)
250-
251250
- :authaction:`listSessions` (New in version 3.6)
252-
253251
- :authaction:`listShards`
254252
- :authaction:`removeShard`
255253
- :authaction:`replSetConfigure`
256254
- :authaction:`replSetGetConfig`
257255
- :authaction:`replSetGetStatus`
258256
- :authaction:`replSetStateChange`
259257
- :authaction:`resync`
260-
261258
- :authaction:`setDefaultRWConcern` (New in version 4.4)
262-
263259
- :authaction:`setFeatureCompatibilityVersion`
264260
- :authaction:`setFreeMonitoring`
265261

@@ -399,16 +395,13 @@ Cluster Administration Roles
399395
- :authaction:`hostInfo`
400396
- :authaction:`inprog`
401397
- :authaction:`listDatabases`
402-
403398
- :authaction:`listSessions` (New in version 3.6)
404-
405399
- :authaction:`listShards`
406400
- :authaction:`netstat`
407401
- :authaction:`replSetGetConfig`
408402
- :authaction:`replSetGetStatus`
409403
- :authaction:`serverStatus`
410404
- :authaction:`setFreeMonitoring` (New in version 4.0)
411-
412405
- :authaction:`shardingState`
413406
- :authaction:`top`
414407

source/reference/command/mapReduce.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ collection <mapreduce-out-mtd>`:
370370

371371
- :authaction:`find`,
372372
- :authaction:`insert`,
373-
- :authaction:`replace`
373+
- :authaction:`remove`
374374

375375
Map-reduce with the ``merge`` or ``reduce`` actions when
376376
:ref:`outputting to a collection <mapreduce-out-mtd>`:

source/reference/command/setAuditConfig.txt

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,13 @@ Behavior
5959
Enable :doc:`Auditing </core/auditing>` to use
6060
:dbcommand:`setAuditConfig` at runtime.
6161

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

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

148147
Set :parameter:`auditAuthorizationSuccess` to ``true`` and create a
149-
filter which includes actions of interest to audit :authaction:`read`
150-
and :authaction:`write` operations.
148+
filter which includes actions of interest to audit read and write
149+
operations.
151150

152151

153152
.. code-block:: javascript

source/reference/privilege-actions.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,13 @@ Database Management Actions
265265
User can kill **any** cursor, even cursors created by other users.
266266
Apply this action to collection resources.
267267

268+
.. authaction:: planCacheIndexFilter
269+
270+
User can run the :dbcommand:`planCacheClearFilters`,
271+
:dbcommand:`planCacheListFilters`, and
272+
:dbcommand:`planCacheSetFilter` commands. Apply the
273+
:authaction:`planCacheIndexFilter` action to collection resources.
274+
268275
.. authaction:: revokeRole
269276

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

303310
Apply this action to database resources.
304311

312+
.. authaction:: setFeatureCompatibilityVersion
313+
314+
User can run the :dbcommand:`setFeatureCompatibilityVersion` command.
315+
Apply this action to the ``cluster`` resource.
316+
305317
.. authaction:: unlock
306318

307319
User can perform the :method:`db.fsyncUnlock()` method. Apply this

source/reference/program/mongo.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
.. default-domain:: mongodb
44

5-
.. only:: (not man)
5+
.. cond:: (not man)
66

77
.. binary:: mongo
88

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

438-
.. optional::
438+
.. note:: Optional
439439

440440
To specify a JavaScript file to execute *and* allow
441441
:program:`mongo` to prompt you for a password using

source/reference/program/mongod.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
.. default-domain:: mongodb
44

5-
.. only:: (not man)
5+
.. cond:: (not man)
66

77
.. binary:: mongod
88

source/reference/program/mongokerberos.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
.. default-domain:: mongodb
44

5-
.. only:: (not man)
5+
.. cond:: (not man)
66

77
.. binary:: mongokerberos
88

source/reference/program/mongoldap.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
.. default-domain:: mongodb
44

5-
.. only:: (not man)
5+
.. cond:: (not man)
66

77
.. binary:: mongoldap
88

source/reference/program/mongos.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
.. default-domain:: mongodb
44

5-
.. only:: (not man)
5+
.. cond:: (not man)
66

77
.. binary:: mongos
88

0 commit comments

Comments
 (0)