Index: components/policy/resources/policy_templates.json |
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json |
index 85d50010561ca2593e8708f2328616cdba56c818..fed25801e2093517b4ba222c4ee13e758c5e6972 100644 |
--- a/components/policy/resources/policy_templates.json |
+++ b/components/policy/resources/policy_templates.json |
@@ -137,7 +137,7 @@ |
# persistent IDs for all fields (but not for groups!) are needed. These are |
# specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
# because doing so would break the deployed wire format! |
-# For your editing convenience: highest ID currently used: 316 |
+# For your editing convenience: highest ID currently used: 317 |
# |
# Placeholders: |
# The following placeholder strings are automatically substituted: |
@@ -8178,6 +8178,42 @@ |
free to change it. In this case, the default value is not reapplied at |
restart.''', |
}, |
+ { |
+ 'name': 'UsbDetachableWhitelist', |
+ 'type': 'list', |
+ 'schema': { |
+ 'type': 'array', |
+ 'items': { |
+ 'type': 'object', |
+ 'id': 'UsbDeviceId', |
+ 'properties': { |
+ 'vendor_id': { 'type': 'integer' }, |
+ 'product_id': { 'type': 'integer' }, |
+ }, |
+ }, |
+ }, |
+ 'supported_on': ['chrome_os:51-'], |
+ 'device_only': True, |
+ 'features': { |
+ 'dynamic_refresh': True, |
+ }, |
+ 'example_value': [ |
+ { |
+ 'vendor_id' : 0x0403, |
+ 'product_id' : 0x6001, |
+ }, |
+ { |
+ 'vendor_id' : 0x413c, |
+ 'product_id' : 0x2105, |
+ } |
+ ], |
+ 'id': 317, |
+ 'caption': '''Whitelist of USB detachable devices''', |
+ 'tags': ['system-security'], |
+ 'desc': '''Defines the list of USB devices that are allowed to be detached from their kernel driver in order to be used through the chrome.usb API directly inside a web application. Entries are pairs of USB Vendor Identifier and Product Identifier to identify a specific hardware. |
+ |
+ If this policy is not configured, the list of a detachable USB devices is considered as empty.''', |
+ }, |
], |
'messages': { |
# Messages that are not associated to any policies. |