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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 # templates and documentation. The policy definition list that Chrome sees | 132 # templates and documentation. The policy definition list that Chrome sees |
133 # will include policies marked with 'future'. If a WIP policy isn't meant to | 133 # will include policies marked with 'future'. If a WIP policy isn't meant to |
134 # be seen by the policy providers either, the 'supported_on' key should be set | 134 # be seen by the policy providers either, the 'supported_on' key should be set |
135 # to an empty list. | 135 # to an empty list. |
136 # | 136 # |
137 # IDs: | 137 # IDs: |
138 # Since a Protocol Buffer definition is generated from this file, unique and | 138 # Since a Protocol Buffer definition is generated from this file, unique and |
139 # persistent IDs for all fields (but not for groups!) are needed. These are | 139 # persistent IDs for all fields (but not for groups!) are needed. These are |
140 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 140 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
141 # because doing so would break the deployed wire format! | 141 # because doing so would break the deployed wire format! |
142 # For your editing convenience: highest ID currently used: 349 | 142 # For your editing convenience: highest ID currently used: 351 |
143 # | 143 # |
144 # Placeholders: | 144 # Placeholders: |
145 # The following placeholder strings are automatically substituted: | 145 # The following placeholder strings are automatically substituted: |
146 # $1 -> Google Chrome / Chromium | 146 # $1 -> Google Chrome / Chromium |
147 # $2 -> Google Chrome OS / Chromium OS | 147 # $2 -> Google Chrome OS / Chromium OS |
148 # $3 -> Google Chrome Frame / Chromium Frame | 148 # $3 -> Google Chrome Frame / Chromium Frame |
149 # $6 is reserved for doc_writer | 149 # $6 is reserved for doc_writer |
150 # | 150 # |
151 # Device Policy: | 151 # Device Policy: |
152 # An additional flag 'device_only' (optional, defaults to False) indicates | 152 # An additional flag 'device_only' (optional, defaults to False) indicates |
(...skipping 8628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8781 'supported_on': ['chrome.*:52-','chrome_os:52-'], | 8781 'supported_on': ['chrome.*:52-','chrome_os:52-'], |
8782 'features': { | 8782 'features': { |
8783 'dynamic_refresh': True, | 8783 'dynamic_refresh': True, |
8784 'per_profile': False, | 8784 'per_profile': False, |
8785 }, | 8785 }, |
8786 'example_value': True, | 8786 'example_value': True, |
8787 'tags': [], | 8787 'tags': [], |
8788 'id': 327, | 8788 'id': 327, |
8789 }, | 8789 }, |
8790 { | 8790 { |
| 8791 'name': 'NetworkThrottlingEnabled', |
| 8792 'device_only': True, |
| 8793 'caption': '''Enables throttling network bandwidth''', |
| 8794 'desc': '''Allows choosing whether network throttling is enabled or not. |
| 8795 This applies to all users, and to all interfaces on the device. Once set, |
| 8796 the throttling persists until the policy is changed to disable it. |
| 8797 |
| 8798 If set to false, there is no throttling. |
| 8799 If set to true, the system is throttled to achieve the provided upload and
download rates (in kbits/s).''', |
| 8800 'type': 'dict', |
| 8801 'schema': { |
| 8802 'type': 'object', |
| 8803 'properties': { |
| 8804 'enabled': { |
| 8805 'description': 'A boolean flag indicating if throttling is enabled.'
, |
| 8806 'type': 'boolean' |
| 8807 }, |
| 8808 'upload_rate_kbits': { |
| 8809 'description': 'Desired upload rate in kbits/s.', |
| 8810 'type': 'integer' |
| 8811 }, |
| 8812 'download_rate_kbits': { |
| 8813 'description': 'Desired download rate in kbits/s.', |
| 8814 'type': 'integer' |
| 8815 } |
| 8816 }, |
| 8817 'required': ['enabled', 'upload_rate_kbits', 'download_rate_kbits'] |
| 8818 }, |
| 8819 'supported_on': ['chrome_os:56-'], |
| 8820 'features': { |
| 8821 'dynamic_refresh': True, |
| 8822 'per_profile': False, |
| 8823 }, |
| 8824 'example_value': [{'enabled': 'true', 'upload_rate_kbits': '5600', 'downlo
ad_rate_kbits': '5600'}], |
| 8825 'tags': [], |
| 8826 'id': 351, |
| 8827 }, |
| 8828 { |
8791 'name': 'LoginVideoCaptureAllowedUrls', | 8829 'name': 'LoginVideoCaptureAllowedUrls', |
8792 'type': 'list', | 8830 'type': 'list', |
8793 'schema': { | 8831 'schema': { |
8794 'type': 'array', | 8832 'type': 'array', |
8795 'items': { 'type': 'string' }, | 8833 'items': { 'type': 'string' }, |
8796 }, | 8834 }, |
8797 'supported_on': ['chrome_os:52-'], | 8835 'supported_on': ['chrome_os:52-'], |
8798 'device_only': True, | 8836 'device_only': True, |
8799 'features': { | 8837 'features': { |
8800 'dynamic_refresh': True, | 8838 'dynamic_refresh': True, |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9278 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', | 9316 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', |
9279 'text': 'Default Settings (users can override)', | 9317 'text': 'Default Settings (users can override)', |
9280 }, | 9318 }, |
9281 'doc_complex_policies_on_windows': { | 9319 'doc_complex_policies_on_windows': { |
9282 'desc': '''Text pointing the user to a help article for complex policies o
n Windows''', | 9320 'desc': '''Text pointing the user to a help article for complex policies o
n Windows''', |
9283 '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>'
'', | 9321 '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>'
'', |
9284 }, | 9322 }, |
9285 }, | 9323 }, |
9286 'placeholders': [], | 9324 'placeholders': [], |
9287 } | 9325 } |
OLD | NEW |