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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 # policy_templates.json - Metafile for policy templates 2 # policy_templates.json - Metafile for policy templates
3 # 3 #
4 # The content of this file is evaluated as a Python expression. 4 # The content of this file is evaluated as a Python expression.
5 # 5 #
6 # This file is used as input to generate the following policy templates: 6 # This file is used as input to generate the following policy templates:
7 # ADM, ADMX+ADML, MCX/plist and html documentation. 7 # ADM, ADMX+ADML, MCX/plist and html documentation.
8 # 8 #
9 # Policy templates are user interface definitions or documents about the 9 # Policy templates are user interface definitions or documents about the
10 # policies that can be used to configure Chrome. Each policy is a name-value 10 # policies that can be used to configure Chrome. Each policy is a name-value
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 # templates and documentation. The policy definition list that Chrome sees 130 # templates and documentation. The policy definition list that Chrome sees
131 # will include policies marked with 'future'. If a WIP policy isn't meant to 131 # will include policies marked with 'future'. If a WIP policy isn't meant to
132 # be seen by the policy providers either, the 'supported_on' key should be set 132 # be seen by the policy providers either, the 'supported_on' key should be set
133 # to an empty list. 133 # to an empty list.
134 # 134 #
135 # IDs: 135 # IDs:
136 # Since a Protocol Buffer definition is generated from this file, unique and 136 # Since a Protocol Buffer definition is generated from this file, unique and
137 # persistent IDs for all fields (but not for groups!) are needed. These are 137 # persistent IDs for all fields (but not for groups!) are needed. These are
138 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 138 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
139 # because doing so would break the deployed wire format! 139 # because doing so would break the deployed wire format!
140 # For your editing convenience: highest ID currently used: 321 140 # For your editing convenience: highest ID currently used: 322
141 # 141 #
142 # Placeholders: 142 # Placeholders:
143 # The following placeholder strings are automatically substituted: 143 # The following placeholder strings are automatically substituted:
144 # $1 -> Google Chrome / Chromium 144 # $1 -> Google Chrome / Chromium
145 # $2 -> Google Chrome OS / Chromium OS 145 # $2 -> Google Chrome OS / Chromium OS
146 # $3 -> Google Chrome Frame / Chromium Frame 146 # $3 -> Google Chrome Frame / Chromium Frame
147 # $6 is reserved for doc_writer 147 # $6 is reserved for doc_writer
148 # 148 #
149 # Device Policy: 149 # Device Policy:
150 # An additional flag 'device_only' (optional, defaults to False) indicates 150 # An additional flag 'device_only' (optional, defaults to False) indicates
(...skipping 8145 matching lines...) Expand 10 before | Expand all | Expand 10 after
8296 'example_value': 0, 8296 'example_value': 0,
8297 'id': 321, 8297 'id': 321,
8298 'caption': '''Configure the login authentication behavior''', 8298 'caption': '''Configure the login authentication behavior''',
8299 'tags': [], 8299 'tags': [],
8300 'desc': '''When this policy is set, the login authentication flow will be in one of the following ways depending on the value of the setting: 8300 'desc': '''When this policy is set, the login authentication flow will be in one of the following ways depending on the value of the setting:
8301 8301
8302 If set to GAIA, login will be done via the normal GAIA authentication flow . 8302 If set to GAIA, login will be done via the normal GAIA authentication flow .
8303 8303
8304 If set to SAML_INTERSTITIAL, login will show an interstitial screen offeri ng the user to go forward with authentication via the SAML IdP of the device's e nrollment domain, or go back to the normal GAIA login flow.''' 8304 If set to SAML_INTERSTITIAL, login will show an interstitial screen offeri ng the user to go forward with authentication via the SAML IdP of the device's e nrollment domain, or go back to the normal GAIA login flow.'''
8305 }, 8305 },
8306 {
8307 'name': 'UsbDetachableWhitelist',
8308 'type': 'list',
8309 'schema': {
8310 'type': 'array',
8311 'items': {
8312 'type': 'object',
8313 'id': 'UsbDeviceId',
8314 'properties': {
8315 'vendor_id': { 'type': 'integer' },
8316 'product_id': { 'type': 'integer' },
8317 },
8318 },
8319 },
8320 'supported_on': ['chrome_os:51-'],
8321 'device_only': True,
8322 'features': {
8323 'dynamic_refresh': True,
8324 },
8325 'example_value': [
8326 {
8327 'vendor_id' : 1027,
8328 'product_id' : 24577,
8329 },
8330 {
8331 'vendor_id' : 16700,
8332 'product_id' : 8453,
8333 }
8334 ],
8335 'id': 322,
8336 'caption': '''Whitelist of USB detachable devices''',
8337 'tags': ['system-security'],
8338 '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 directl y inside a web application. Entries are pairs of USB Vendor Identifier and Produ ct Identifier to identify a specific hardware.
8339
8340 If this policy is not configured, the list of a detachable USB devices is considered as empty.''',
8341 },
8306 ], 8342 ],
8307 'messages': { 8343 'messages': {
8308 # Messages that are not associated to any policies. 8344 # Messages that are not associated to any policies.
8309 'win_supported_winxpsp2': { 8345 'win_supported_winxpsp2': {
8310 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''', 8346 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''',
8311 'text': '''Microsoft Windows XP SP2 or later''' 8347 'text': '''Microsoft Windows XP SP2 or later'''
8312 }, 8348 },
8313 'mac_chrome_preferences': { 8349 'mac_chrome_preferences': {
8314 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 8350 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
8315 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 8351 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
8425 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 8461 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
8426 'text': 'Default Settings (users can override)', 8462 'text': 'Default Settings (users can override)',
8427 }, 8463 },
8428 'doc_complex_policies_on_windows': { 8464 'doc_complex_policies_on_windows': {
8429 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 8465 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
8430 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '', 8466 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '',
8431 }, 8467 },
8432 }, 8468 },
8433 'placeholders': [], 8469 'placeholders': [],
8434 } 8470 }
OLDNEW
« 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