Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Unified Diff: components/policy/resources/policy_templates.json

Issue 1714473002: Add usb_detachable_whitelist to device policy proto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased / incremented IDs to account for intermediate commits Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/policy/policy_test_cases.json ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/resources/policy_templates.json
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json
index 1403ea667023e24fc2c37d1ca902c6ea15cfcd23..c9bcdfe73a74240f05d930823741dabc8ea4711d 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: 321
+# For your editing convenience: highest ID currently used: 322
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -8303,6 +8303,42 @@
If set to SAML_INTERSTITIAL, login will show an interstitial screen offering the user to go forward with authentication via the SAML IdP of the device's enrollment domain, or go back to the normal GAIA login flow.'''
},
+ {
+ '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' : 1027,
+ 'product_id' : 24577,
+ },
+ {
+ 'vendor_id' : 16700,
+ 'product_id' : 8453,
+ }
+ ],
+ 'id': 322,
+ '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.
« no previous file with comments | « chrome/test/data/policy/policy_test_cases.json ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698