Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit b6d3f36

Browse files
committed
actual spacing
1 parent 990619d commit b6d3f36

File tree

2 files changed

+61
-61
lines changed

2 files changed

+61
-61
lines changed

source/includes/minimum-destination-privileges.rst

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
- .. code-block:: javascript
1111

1212
[
13-
{
13+
{
1414
"resource": { "cluster": true },
1515
"actions": [
1616
"appendOplogNote",
@@ -24,8 +24,8 @@
2424
"replSetGetStatus",
2525
"serverStatus"
2626
]
27-
},
28-
{
27+
},
28+
{
2929
"resource": { "db": "", "collection": "" },
3030
"actions": [
3131
"bypassDocumentValidation",
@@ -48,40 +48,40 @@
4848
"bypassWriteBlockingMode",
4949
"setUserWriteBlockMode"
5050
]
51-
},
52-
{
51+
},
52+
{
5353
"resource": { "db": "admin", "collection": "system.version" },
5454
"actions": [ "find" ]
55-
},
56-
{
55+
},
56+
{
5757
"resource": { "db": "", "collection": "system.js" },
5858
"actions": [ "listCollections", "listIndexes" ]
59-
},
60-
{
59+
},
60+
{
6161
"resource": { "db": "config", "collection": "shards" },
6262
"actions": [ "find" ]
63-
},
64-
{
63+
},
64+
{
6565
"resource": { "db": "", "collection": "system.views" },
6666
"actions": [ "dropCollection" ]
67-
},
68-
{
67+
},
68+
{
6969
"resource": { "db": "config", "collection": "version" },
7070
"actions": [ "find" ]
71-
},
72-
{
71+
},
72+
{
7373
"resource": { "db": "config", "collection": "collections" },
7474
"actions": [ "find" ]
75-
},
76-
{
75+
},
76+
{
7777
"resource": { "db": "config", "collection": "settings" },
7878
"actions": [ "find" ]
79-
},
80-
{
79+
},
80+
{
8181
"resource": { "db": "config", "collection": "tags" },
8282
"actions": [ "find" ]
83-
},
84-
{
83+
},
84+
{
8585
"resource": { "system_buckets": "" },
8686
"actions": [ "listCollections", "listIndexes" ]
8787
}
@@ -97,7 +97,7 @@
9797
.. code-block:: javascript
9898
9999
[
100-
{ "resource": { "db": "", "collection": "" }, "actions": [ "dropDatabase" ] }
100+
{ "resource": { "db": "", "collection": "" }, "actions": [ "dropDatabase" ] }
101101
]
102102

103103
* - Multiple Reversals
@@ -107,6 +107,6 @@
107107
.. code-block:: javascript
108108
109109
[
110-
{ "resource": { "db": "", "collection": "" }, "actions": [ "dropDatabase" ] }
110+
{ "resource": { "db": "", "collection": "" }, "actions": [ "dropDatabase" ] }
111111
]
112112

source/includes/minimum-source-privileges.rst

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
- .. code-block:: javascript
1111

1212
[
13-
{
13+
{
1414
"resource": { "cluster": true },
1515
"actions": [
1616
"appendOplogNote",
@@ -23,8 +23,8 @@
2323
"replSetGetStatus",
2424
"serverStatus"
2525
]
26-
},
27-
{
26+
},
27+
{
2828
"resource": { "db": "", "collection": "" },
2929
"actions": [
3030
"changeStream",
@@ -34,35 +34,35 @@
3434
"listCollections",
3535
"listIndexes"
3636
]
37-
},
38-
{
37+
},
38+
{
3939
"resource": { "db": "admin", "collection": "system.version" },
4040
"actions": [ "find" ]
41-
},
42-
{
41+
},
42+
{
4343
"resource": { "db": "", "collection": "system.js" },
4444
"actions": [ "listCollections", "listIndexes" ]
45-
},
46-
{
45+
},
46+
{
4747
"resource": { "db": "config", "collection": "shards" },
4848
"actions": [ "find" ]
49-
},
50-
{
49+
},
50+
{
5151
"resource": { "db": "config", "collection": "collections" },
5252
"actions": [ "find" ]
53-
},
54-
{
53+
},
54+
{
5555
"resource": { "db": "config", "collection": "version" },
5656
"actions": [ "find" ]
57-
},
58-
{
57+
},
58+
{
5959
"resource": { "db": "config", "collection": "settings" },
6060
"actions": [ "find" ]
61-
},
62-
{
61+
},
62+
{
6363
"resource": { "system_buckets": "" },
6464
"actions": [ "listCollections", "listIndexes" ]
65-
}
65+
}
6666
]
6767

6868
* - Write-blocking
@@ -88,14 +88,14 @@
8888
.. code-block:: javascript
8989
9090
[
91-
{ "resource": { "db": "", "collection": "" }, "actions": [ "dropDatabase" ] }
91+
{ "resource": { "db": "", "collection": "" }, "actions": [ "dropDatabase" ] }
9292
]
9393

9494
* - V4.4 Migration (insert footnote)
9595
- .. code-block:: javascript
9696

9797
[
98-
{
98+
{
9999
"resource": { "cluster": true },
100100
"actions": [
101101
"addShard",
@@ -109,9 +109,9 @@
109109
"replSetGetConfig",
110110
"replSetGetStatus",
111111
"serverStatus"
112-
]
113-
},
114-
{
112+
]
113+
},
114+
{
115115
"resource": { "db": "", "collection": "" },
116116
"actions": [
117117
"changeStream",
@@ -120,32 +120,32 @@
120120
"indexStats",
121121
"listCollections",
122122
"listIndexes"
123-
]
124-
},
125-
{
123+
]
124+
},
125+
{
126126
"resource": { "db": "admin", "collection": "system.version" },
127127
"actions": [ "find" ]
128-
},
129-
{
128+
},
129+
{
130130
"resource": { "db": "", "collection": "system.js" },
131131
"actions": [ "listCollections", "listIndexes" ]
132-
},
133-
{
132+
},
133+
{
134134
"resource": { "db": "config", "collection": "shards" },
135135
"actions": [ "find" ]
136-
},
137-
{
136+
},
137+
{
138138
"resource": { "db": "config", "collection": "collections" },
139139
"actions": [ "find" ]
140-
},
141-
{
140+
},
141+
{
142142
"resource": { "db": "config", "collection": "version" },
143143
"actions": [ "find" ]
144-
},
145-
{
144+
},
145+
{
146146
"resource": { "db": "config", "collection": "settings" },
147147
"actions": [ "find" ]
148-
}
149-
]
148+
}
149+
]
150150

151151

0 commit comments

Comments
 (0)