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

Commit 990619d

Browse files
committed
spacing
1 parent 8c939a1 commit 990619d

File tree

2 files changed

+113
-113
lines changed

2 files changed

+113
-113
lines changed

source/includes/minimum-destination-privileges.rst

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -13,82 +13,82 @@
1313
{
1414
"resource": { "cluster": true },
1515
"actions": [
16-
"appendOplogNote" ,
17-
"enableSharding" ,
18-
"getDefaultRWConcern",
19-
"getShardMap" ,
20-
"hostInfo" ,
21-
"listDatabases" ,
22-
"listShards" ,
23-
"replSetGetConfig" ,
24-
"replSetGetStatus" ,
25-
"serverStatus"
16+
"appendOplogNote",
17+
"enableSharding",
18+
"getDefaultRWConcern",
19+
"getShardMap",
20+
"hostInfo",
21+
"listDatabases",
22+
"listShards",
23+
"replSetGetConfig",
24+
"replSetGetStatus",
25+
"serverStatus"
2626
]
2727
},
2828
{
29-
"resource": { "db": "", "collection": "" },
30-
"actions": [
31-
"bypassDocumentValidation",
32-
"changeStream" ,
33-
"collMod" ,
34-
"convertToCapped" ,
35-
"createCollection" ,
36-
"createIndex" ,
37-
"dropCollection" ,
38-
"dropIndex" ,
39-
"enableSharding" ,
40-
"find" ,
41-
"indexStats" ,
42-
"insert" ,
43-
"listCollections" ,
44-
"listIndexes" ,
45-
"remove" ,
46-
"renameCollectionSameDB" ,
47-
"update" ,
48-
"bypassWriteBlockingMode" ,
49-
"setUserWriteBlockMode"
50-
]
29+
"resource": { "db": "", "collection": "" },
30+
"actions": [
31+
"bypassDocumentValidation",
32+
"changeStream",
33+
"collMod",
34+
"convertToCapped",
35+
"createCollection",
36+
"createIndex",
37+
"dropCollection",
38+
"dropIndex",
39+
"enableSharding",
40+
"find",
41+
"indexStats",
42+
"insert",
43+
"listCollections",
44+
"listIndexes",
45+
"remove",
46+
"renameCollectionSameDB",
47+
"update",
48+
"bypassWriteBlockingMode",
49+
"setUserWriteBlockMode"
50+
]
5151
},
5252
{
53-
"resource": { "db": "admin", "collection": "system.version" },
54-
"actions": [ "find" ]
53+
"resource": { "db": "admin", "collection": "system.version" },
54+
"actions": [ "find" ]
5555
},
5656
{
57-
"resource": { "db": "", "collection": "system.js" },
58-
"actions": [ "listCollections", "listIndexes" ]
57+
"resource": { "db": "", "collection": "system.js" },
58+
"actions": [ "listCollections", "listIndexes" ]
5959
},
6060
{
61-
"resource": { "db": "config", "collection": "shards" },
62-
"actions": [ "find" ]
61+
"resource": { "db": "config", "collection": "shards" },
62+
"actions": [ "find" ]
6363
},
6464
{
65-
"resource": { "db": "", "collection": "system.views" },
66-
"actions": [ "dropCollection" ]
65+
"resource": { "db": "", "collection": "system.views" },
66+
"actions": [ "dropCollection" ]
6767
},
6868
{
69-
"resource": { "db": "config", "collection": "version" },
70-
"actions": [ "find" ]
69+
"resource": { "db": "config", "collection": "version" },
70+
"actions": [ "find" ]
7171
},
7272
{
73-
"resource": { "db": "config", "collection": "collections" },
74-
"actions": [ "find" ]
73+
"resource": { "db": "config", "collection": "collections" },
74+
"actions": [ "find" ]
7575
},
7676
{
77-
"resource": { "db": "config", "collection": "settings" },
78-
"actions": [ "find" ]
77+
"resource": { "db": "config", "collection": "settings" },
78+
"actions": [ "find" ]
7979
},
8080
{
81-
"resource": { "db": "config", "collection": "tags" },
82-
"actions": [ "find" ]
81+
"resource": { "db": "config", "collection": "tags" },
82+
"actions": [ "find" ]
8383
},
8484
{
85-
"resource": { "system_buckets": "" },
86-
"actions": [ "listCollections", "listIndexes" ]
85+
"resource": { "system_buckets": "" },
86+
"actions": [ "listCollections", "listIndexes" ]
8787
}
8888
]
8989

9090
* - Write Blocking
91-
- Everything from the default destination privileges
91+
- Everything from the default destination privileges.
9292

9393
* - Reversing
9494
- Everything from the default source privileges and the default destination

source/includes/minimum-source-privileges.rst

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -13,33 +13,33 @@
1313
{
1414
"resource": { "cluster": true },
1515
"actions": [
16-
"appendOplogNote" ,
17-
"getDefaultRWConcern",
18-
"getShardMap" ,
19-
"hostInfo" ,
20-
"listDatabases" ,
21-
"listShards" ,
22-
"replSetGetConfig" ,
23-
"replSetGetStatus" ,
24-
"serverStatus"
16+
"appendOplogNote",
17+
"getDefaultRWConcern",
18+
"getShardMap",
19+
"hostInfo",
20+
"listDatabases",
21+
"listShards",
22+
"replSetGetConfig",
23+
"replSetGetStatus",
24+
"serverStatus"
2525
]
26-
},
27-
{
26+
},
27+
{
2828
"resource": { "db": "", "collection": "" },
2929
"actions": [
30-
"changeStream" ,
31-
"collStats" ,
32-
"find" ,
33-
"indexStats" ,
34-
"listCollections",
35-
"listIndexes"
30+
"changeStream",
31+
"collStats",
32+
"find",
33+
"indexStats",
34+
"listCollections",
35+
"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" ]
4545
},
@@ -50,20 +50,20 @@
5050
{
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" ]
6161
},
6262
{
6363
"resource": { "system_buckets": "" },
6464
"actions": [ "listCollections", "listIndexes" ]
65-
}
66-
]
65+
}
66+
]
6767

6868
* - Write-blocking
6969
- Everything from the default source privileges with the addition of:
@@ -88,7 +88,7 @@
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)
@@ -98,54 +98,54 @@
9898
{
9999
"resource": { "cluster": true },
100100
"actions": [
101-
"addShard" ,
102-
"appendOplogNote" ,
103-
"flushRouterConfig" ,
104-
"getDefaultRWConcern",
105-
"getShardMap" ,
106-
"hostInfo" ,
107-
"listDatabases" ,
108-
"listShards" ,
109-
"replSetGetConfig" ,
110-
"replSetGetStatus" ,
111-
"serverStatus"
101+
"addShard",
102+
"appendOplogNote",
103+
"flushRouterConfig",
104+
"getDefaultRWConcern",
105+
"getShardMap",
106+
"hostInfo",
107+
"listDatabases",
108+
"listShards",
109+
"replSetGetConfig",
110+
"replSetGetStatus",
111+
"serverStatus"
112112
]
113-
},
114-
{
115-
"resource": { "db": "", "collection": "" },
116-
"actions": [
117-
"changeStream" ,
118-
"collStats" ,
119-
"find" ,
120-
"indexStats" ,
121-
"listCollections",
122-
"listIndexes"
113+
},
114+
{
115+
"resource": { "db": "", "collection": "" },
116+
"actions": [
117+
"changeStream",
118+
"collStats",
119+
"find",
120+
"indexStats",
121+
"listCollections",
122+
"listIndexes"
123123
]
124-
},
125-
{
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-
}
148+
}
149149
]
150150

151151

0 commit comments

Comments
 (0)