Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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: 323 | 140 # For your editing convenience: highest ID currently used: 324 |
| 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 8201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8352 'example_value': True, | 8352 'example_value': True, |
| 8353 'id': 323, | 8353 'id': 323, |
| 8354 'caption': '''Allow bluetooth on device''', | 8354 'caption': '''Allow bluetooth on device''', |
| 8355 'tags': [], | 8355 'tags': [], |
| 8356 'desc': '''If this policy is set to false, <ph name="PRODUCT_OS_NAME">$2<e x>Google Chrome OS</ex></ph> will disable Bluetooth and the user cannot enable i t back. | 8356 'desc': '''If this policy is set to false, <ph name="PRODUCT_OS_NAME">$2<e x>Google Chrome OS</ex></ph> will disable Bluetooth and the user cannot enable i t back. |
| 8357 | 8357 |
| 8358 If this policy is set to true or left unset, the user will be able to enab le or disable Bluetooth as he wishes. | 8358 If this policy is set to true or left unset, the user will be able to enab le or disable Bluetooth as he wishes. |
| 8359 | 8359 |
| 8360 If this policy is set, the user cannot change or override it.''', | 8360 If this policy is set, the user cannot change or override it.''', |
| 8361 }, | 8361 }, |
| 8362 { | |
| 8363 'name': 'SuppressUnsupportedOSWarning', | |
| 8364 'caption': '''Suppress the unsupported OS warning''', | |
| 8365 'desc': '''Suppresses the warning that appears when <ph name="PRODUCT_NAME ">$1<ex>Google Chrome</ex></ph> is running on a computer or operating system tha t is no longer supported.''', | |
| 8366 'type': 'main', | |
| 8367 'schema': { 'type': 'boolean' }, | |
| 8368 'supported_on': ['chrome.*:49-','chrome_os:49-'], | |
|
Thiemo Nagel
2016/03/30 16:13:03
Does that really apply to Chrome OS? Under which
| |
| 8369 'features': { | |
| 8370 'dynamic_refresh': False, | |
| 8371 'per_profile': False, | |
| 8372 }, | |
| 8373 'example_value': True, | |
| 8374 'tags': ['system-security'], | |
| 8375 'id': 324, | |
| 8376 }, | |
| 8362 ], | 8377 ], |
| 8363 'messages': { | 8378 'messages': { |
| 8364 # Messages that are not associated to any policies. | 8379 # Messages that are not associated to any policies. |
| 8365 'win_supported_winxpsp2': { | 8380 'win_supported_winxpsp2': { |
| 8366 '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:'.''', | 8381 '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:'.''', |
| 8367 'text': '''Microsoft Windows XP SP2 or later''' | 8382 'text': '''Microsoft Windows XP SP2 or later''' |
| 8368 }, | 8383 }, |
| 8369 'mac_chrome_preferences': { | 8384 'mac_chrome_preferences': { |
| 8370 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', | 8385 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', |
| 8371 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' | 8386 '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 Loading... | |
| 8481 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 8496 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
| 8482 'text': 'Default Settings (users can override)', | 8497 'text': 'Default Settings (users can override)', |
| 8483 }, | 8498 }, |
| 8484 'doc_complex_policies_on_windows': { | 8499 'doc_complex_policies_on_windows': { |
| 8485 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', | 8500 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', |
| 8486 '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>' '', | 8501 '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>' '', |
| 8487 }, | 8502 }, |
| 8488 }, | 8503 }, |
| 8489 'placeholders': [], | 8504 'placeholders': [], |
| 8490 } | 8505 } |
| OLD | NEW |