forked from che-incubator/che-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpolicy.json
More file actions
34 lines (27 loc) · 942 Bytes
/
policy.json
File metadata and controls
34 lines (27 loc) · 942 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"AllowedExtensions": {
// Deny All Extensions
"*": false,
// Only the following extensions can be installed
"dbaeumer.vscode-eslint": true,
"redhat.vscode-yaml": true,
// Only specified extensions can not be installed,
// all other extensions are allowed
"*": true,
"dbaeumer.vscode-eslint": false,
"redhat.vscode-yaml": false,
// Do not allow all extensions from a specific publisher (by publisher ID)
"*": true,
"redhat": false,
// Allow only extensions from a specific publisher (by publisher ID),
// other extensions are not allowed
"*": false,
"redhat": true,
// Allow only 0.28.0 version of the xml extension
"redhat.vscode-xml": ["0.28.0"],
// Allow only specified versions of the xml extension
"redhat.vscode-xml": ["0.28.0", "0.28.1"],
// Allow only stable version of extensions for specified publisher
"redhat": "stable"
}
}