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

Commit 872ded5

Browse files
committed
re doing all of the spaces god
1 parent 33ce950 commit 872ded5

File tree

2 files changed

+187
-187
lines changed

2 files changed

+187
-187
lines changed

source/includes/minimum-destination-privileges.rst

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

1212
[
13-
{
14-
"resource": { "cluster": true },
15-
"actions": [
16-
"appendOplogNote",
17-
"enableSharding",
18-
"getDefaultRWConcern",
19-
"getShardMap",
20-
"hostInfo",
21-
"listDatabases",
22-
"listShards",
23-
"replSetGetConfig",
24-
"replSetGetStatus",
25-
"serverStatus"
26-
]
27-
},
28-
{
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-
]
51-
},
52-
{
53-
"resource": { "db": "admin", "collection": "system.version" },
54-
"actions": [ "find" ]
55-
},
56-
{
57-
"resource": { "db": "", "collection": "system.js" },
58-
"actions": [ "listCollections", "listIndexes" ]
59-
},
60-
{
61-
"resource": { "db": "config", "collection": "shards" },
62-
"actions": [ "find" ]
63-
},
64-
{
65-
"resource": { "db": "", "collection": "system.views" },
66-
"actions": [ "dropCollection" ]
67-
},
68-
{
69-
"resource": { "db": "config", "collection": "version" },
70-
"actions": [ "find" ]
71-
},
72-
{
73-
"resource": { "db": "config", "collection": "collections" },
74-
"actions": [ "find" ]
75-
},
76-
{
77-
"resource": { "db": "config", "collection": "settings" },
78-
"actions": [ "find" ]
79-
},
80-
{
81-
"resource": { "db": "config", "collection": "tags" },
82-
"actions": [ "find" ]
83-
},
84-
{
85-
"resource": { "system_buckets": "" },
86-
"actions": [ "listCollections", "listIndexes" ]
87-
}
88-
]
13+
{
14+
"resource": { "cluster": true },
15+
"actions": [
16+
"appendOplogNote",
17+
"enableSharding",
18+
"getDefaultRWConcern",
19+
"getShardMap",
20+
"hostInfo",
21+
"listDatabases",
22+
"listShards",
23+
"replSetGetConfig",
24+
"replSetGetStatus",
25+
"serverStatus"
26+
]
27+
},
28+
{
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+
]
51+
},
52+
{
53+
"resource": { "db": "admin", "collection": "system.version" },
54+
"actions": [ "find" ]
55+
},
56+
{
57+
"resource": { "db": "", "collection": "system.js" },
58+
"actions": [ "listCollections", "listIndexes" ]
59+
},
60+
{
61+
"resource": { "db": "config", "collection": "shards" },
62+
"actions": [ "find" ]
63+
},
64+
{
65+
"resource": { "db": "", "collection": "system.views" },
66+
"actions": [ "dropCollection" ]
67+
},
68+
{
69+
"resource": { "db": "config", "collection": "version" },
70+
"actions": [ "find" ]
71+
},
72+
{
73+
"resource": { "db": "config", "collection": "collections" },
74+
"actions": [ "find" ]
75+
},
76+
{
77+
"resource": { "db": "config", "collection": "settings" },
78+
"actions": [ "find" ]
79+
},
80+
{
81+
"resource": { "db": "config", "collection": "tags" },
82+
"actions": [ "find" ]
83+
},
84+
{
85+
"resource": { "system_buckets": "" },
86+
"actions": [ "listCollections", "listIndexes" ]
87+
}
88+
]
8989

9090
* - Write Blocking
9191
- Everything from the default destination privileges.
@@ -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

0 commit comments

Comments
 (0)