Skip to content

Commit 53c4d33

Browse files
authored
DOCSP-34778 Add info on Atlas Support for role management commands (#5744)
Co-authored-by: pierwill <[email protected]>
1 parent d512e4c commit 53c4d33

10 files changed

+107
-0
lines changed

source/reference/command/createRole.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ Definition
2424
.. |method| replace:: :method:`db.createRole` helper method
2525
.. include:: /includes/fact-dbcommand-tip
2626

27+
Compatibility
28+
-------------
29+
30+
This command is available in deployments hosted in the following environments:
31+
32+
.. include:: /includes/fact-environments-atlas-only.rst
33+
34+
.. include:: /includes/fact-environments-atlas-support-no-free-or-m10.rst
35+
36+
.. include:: /includes/fact-environments-onprem-only.rst
2737

2838
Syntax
2939
------

source/reference/command/dropAllRolesFromDatabase.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@ Definition
2626
.. |method| replace:: :method:`db.dropAllRoles` helper method
2727
.. include:: /includes/fact-dbcommand-tip
2828

29+
Compatibility
30+
-------------
31+
32+
This command is available in deployments hosted in the following environments:
33+
34+
.. include:: /includes/fact-environments-atlas-only.rst
35+
36+
.. include:: /includes/fact-environments-atlas-support-no-free.rst
37+
38+
.. include:: /includes/fact-environments-onprem-only.rst
2939

3040
Syntax
3141
------

source/reference/command/dropRole.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@ Definition
2121
.. |method| replace:: :method:`db.dropRole` helper method
2222
.. include:: /includes/fact-dbcommand-tip
2323

24+
Compatibility
25+
-------------
26+
27+
This command is available in deployments hosted in the following environments:
28+
29+
.. include:: /includes/fact-environments-atlas-only.rst
30+
31+
.. include:: /includes/fact-environments-atlas-support-no-free-or-m10.rst
32+
33+
.. include:: /includes/fact-environments-onprem-only.rst
34+
2435
Syntax
2536
------
2637

source/reference/command/grantPrivilegesToRole.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@ Definition
4040
}
4141
)
4242

43+
Compatibility
44+
-------------
45+
46+
This command is available in deployments hosted in the following environments:
47+
48+
.. include:: /includes/fact-environments-atlas-only.rst
49+
50+
.. include:: /includes/fact-environments-atlas-support-no-free.rst
51+
52+
.. include:: /includes/fact-environments-onprem-only.rst
53+
4354
Command Fields
4455
--------------
4556

source/reference/command/grantRolesToRole.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,17 @@ The command has the following fields:
7070
.. |local-cmd-name| replace:: :dbcommand:`grantRolesToRole`
7171
.. include:: /includes/fact-roles-array-contents.rst
7272

73+
Compatibility
74+
-------------
75+
76+
This command is available in deployments hosted in the following environments:
77+
78+
.. include:: /includes/fact-environments-atlas-only.rst
79+
80+
.. include:: /includes/fact-environments-atlas-support-no-free.rst
81+
82+
.. include:: /includes/fact-environments-onprem-only.rst
83+
7384
Behavior
7485
--------
7586

source/reference/command/invalidateUserCache.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@ Definition
2020
at any given moment, regardless of the
2121
interval set in the :parameter:`userCacheInvalidationIntervalSecs` parameter.
2222

23+
Compatibility
24+
-------------
25+
26+
This command is available in deployments hosted in the following environments:
27+
28+
.. include:: /includes/fact-environments-atlas-only.rst
29+
30+
.. include:: /includes/fact-environments-atlas-support-no-free.rst
31+
32+
.. include:: /includes/fact-environments-onprem-only.rst
2333

2434
Syntax
2535
------

source/reference/command/revokePrivilegesFromRole.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,17 @@ Definition
2222
.. |method| replace:: :method:`db.revokePrivilegesFromRole` helper method
2323
.. include:: /includes/fact-dbcommand-tip
2424

25+
Compatibility
26+
-------------
27+
28+
This command is available in deployments hosted in the following environments:
29+
30+
.. include:: /includes/fact-environments-atlas-only.rst
31+
32+
.. include:: /includes/fact-environments-atlas-support-no-free.rst
33+
34+
.. include:: /includes/fact-environments-onprem-only.rst
35+
2536
Syntax
2637
------
2738

source/reference/command/revokeRolesFromRole.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ Definition
2020
.. |method| replace:: :method:`db.revokeRolesFromRole` helper method
2121
.. include:: /includes/fact-dbcommand-tip
2222

23+
Compatibility
24+
-------------
25+
26+
This command is available in deployments hosted in the following environments:
27+
28+
.. include:: /includes/fact-environments-atlas-only.rst
29+
30+
.. include:: /includes/fact-environments-atlas-support-no-free.rst
31+
32+
.. include:: /includes/fact-environments-onprem-only.rst
33+
2334
Syntax
2435
------
2536

source/reference/command/rolesInfo.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@ Definition
2424
The :dbcommand:`rolesInfo` command can also retrieve all roles
2525
scoped to a database.
2626

27+
Compatibility
28+
-------------
29+
30+
This command is available in deployments hosted in the following environments:
31+
32+
.. include:: /includes/fact-environments-atlas-only.rst
33+
34+
.. include:: /includes/fact-environments-atlas-support-all.rst
35+
36+
.. include:: /includes/fact-environments-onprem-only.rst
37+
2738
Syntax
2839
------
2940

source/reference/command/updateRole.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,17 @@ Definition
3535
An update to the ``privileges`` or ``roles`` array
3636
completely replaces the previous array's values.
3737

38+
Compatibility
39+
-------------
40+
41+
This command is available in deployments hosted in the following environments:
42+
43+
.. include:: /includes/fact-environments-atlas-only.rst
44+
45+
.. include:: /includes/fact-environments-atlas-support-no-free-or-m10.rst
46+
47+
.. include:: /includes/fact-environments-onprem-only.rst
48+
3849
Syntax
3950
------
4051

0 commit comments

Comments
 (0)