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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
116 # templates and documentation. The policy definition list that Chrome sees | 116 # templates and documentation. The policy definition list that Chrome sees |
117 # will include policies marked with 'future'. If a WIP policy isn't meant to | 117 # will include policies marked with 'future'. If a WIP policy isn't meant to |
118 # be seen by the policy providers either, the 'supported_on' key should be set | 118 # be seen by the policy providers either, the 'supported_on' key should be set |
119 # to an empty list. | 119 # to an empty list. |
120 # | 120 # |
121 # IDs: | 121 # IDs: |
122 # Since a Protocol Buffer definition is generated from this file, unique and | 122 # Since a Protocol Buffer definition is generated from this file, unique and |
123 # persistent IDs for all fields (but not for groups!) are needed. These are | 123 # persistent IDs for all fields (but not for groups!) are needed. These are |
124 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 124 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
125 # because doing so would break the deployed wire format! | 125 # because doing so would break the deployed wire format! |
126 # For your editing convenience: highest ID currently used: 302 | 126 # For your editing convenience: highest ID currently used: 303 |
127 # | 127 # |
128 # Placeholders: | 128 # Placeholders: |
129 # The following placeholder strings are automatically substituted: | 129 # The following placeholder strings are automatically substituted: |
130 # $1 -> Google Chrome / Chromium | 130 # $1 -> Google Chrome / Chromium |
131 # $2 -> Google Chrome OS / Chromium OS | 131 # $2 -> Google Chrome OS / Chromium OS |
132 # $3 -> Google Chrome Frame / Chromium Frame | 132 # $3 -> Google Chrome Frame / Chromium Frame |
133 # $6 is reserved for doc_writer | 133 # $6 is reserved for doc_writer |
134 # | 134 # |
135 # Device Policy: | 135 # Device Policy: |
136 # An additional flag device_only (optional, defaults to False) indicates | 136 # An additional flag device_only (optional, defaults to False) indicates |
(...skipping 7253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
7390 'desc': '''Grants access to corporate keys to extensions. | 7390 'desc': '''Grants access to corporate keys to extensions. |
7391 | 7391 |
7392 Keys are designated for corporate usage if they're generated using the chr ome.platformKeys API on a managed account. Keys imported or generated in another way are not designated for corporate usage. | 7392 Keys are designated for corporate usage if they're generated using the chr ome.platformKeys API on a managed account. Keys imported or generated in another way are not designated for corporate usage. |
7393 | 7393 |
7394 Access to keys designated for corporate usage is solely controlled by this policy. The user can neither grant nor withdraw access to corporate keys to or from extensions. | 7394 Access to keys designated for corporate usage is solely controlled by this policy. The user can neither grant nor withdraw access to corporate keys to or from extensions. |
7395 | 7395 |
7396 By default an extension cannot use a key designated for corporate usage, w hich is equivalent to setting allowCorporateKeyUsage to false for that extension . | 7396 By default an extension cannot use a key designated for corporate usage, w hich is equivalent to setting allowCorporateKeyUsage to false for that extension . |
7397 | 7397 |
7398 Only if allowCorporateKeyUsage is set to true for an extension, it can use any platform key marked for corporate usage to sign arbitrary data. This permis sion should only be granted if the extension is trusted to secure access to the key against attackers.''', | 7398 Only if allowCorporateKeyUsage is set to true for an extension, it can use any platform key marked for corporate usage to sign arbitrary data. This permis sion should only be granted if the extension is trusted to secure access to the key against attackers.''', |
7399 }, | 7399 }, |
7400 { | |
7401 'name': 'HardwareAccelerationModeEnabled', | |
bartfab (slow)
2015/07/01 09:16:54
How does this policy interact with Disable3DAPIs?
Zhenyao Mo
2015/07/01 17:56:08
Disable3DAPIs will be true if this is false. I add
| |
7402 'type': 'main', | |
7403 'schema': { 'type': 'boolean' }, | |
7404 'supported_on': ['chrome.*:45-', 'chrome_os:45-', 'android:45-'], | |
7405 'features': { | |
7406 'dynamic_refresh': False, | |
bartfab (slow)
2015/07/01 09:16:54
What happens if the policy value changes while Chr
Zhenyao Mo
2015/07/01 17:56:08
This is only applied at browser startup time, so e
| |
7407 'per_profile': True, | |
bartfab (slow)
2015/07/01 09:16:54
Can this really be controlled on a per-profile bas
Zhenyao Mo
2015/07/01 17:56:08
Switched to global setting. You are right, this s
| |
7408 }, | |
7409 'example_value': True, | |
7410 'id': 303, | |
7411 'caption': '''Use Hardware Acceleration When Available''', | |
bartfab (slow)
2015/07/01 09:16:54
Nit: Why is this in title case?
Zhenyao Mo
2015/07/01 17:56:08
Switch to regular text mode.
FYI: I am simply fol
bartfab (slow)
2015/07/08 12:40:33
I guess our template could do with a bit of clean-
| |
7412 'desc': '''Use hardware acceleration when available. | |
7413 | |
7414 If you enable this setting, hardware acceleration will be enabled unless a certain GPU feature is blacklisted. | |
bartfab (slow)
2015/07/01 09:16:54
What is that "certain GPU feature" which disables
Zhenyao Mo
2015/07/01 17:56:07
For example, accelerated canvas 2D, or accelerated
| |
7415 | |
7416 If you disable this setting, no hardware acceleration will be disabled. | |
bartfab (slow)
2015/07/01 09:16:54
This sentence is broken.
Zhenyao Mo
2015/07/01 17:56:08
Done.
| |
7417 | |
7418 If this policy is left not set, it is equivalent to being enabled, see des cription above.''', | |
bartfab (slow)
2015/07/01 09:16:54
This is unnecessarily complex. How about:
If this
Zhenyao Mo
2015/07/01 17:56:08
That doesn't cover the case of features being blac
bartfab (slow)
2015/07/08 12:40:33
A common way to solve this is to change the first
| |
7419 }, | |
7400 ], | 7420 ], |
7401 'messages': { | 7421 'messages': { |
7402 # Messages that are not associated to any policies. | 7422 # Messages that are not associated to any policies. |
7403 'win_supported_winxpsp2': { | 7423 'win_supported_winxpsp2': { |
7404 '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:'.''', | 7424 '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:'.''', |
7405 'text': '''Microsoft Windows XP SP2 or later''' | 7425 'text': '''Microsoft Windows XP SP2 or later''' |
7406 }, | 7426 }, |
7407 'mac_chrome_preferences': { | 7427 'mac_chrome_preferences': { |
7408 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', | 7428 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', |
7409 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' | 7429 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
7515 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 7535 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
7516 'text': 'Default Settings (users can override)', | 7536 'text': 'Default Settings (users can override)', |
7517 }, | 7537 }, |
7518 'doc_complex_policies_on_windows': { | 7538 'doc_complex_policies_on_windows': { |
7519 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', | 7539 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', |
7520 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">http://www.chromium.org/administrators/complex-policies-on-windows<ex >http://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>''' , | 7540 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">http://www.chromium.org/administrators/complex-policies-on-windows<ex >http://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>''' , |
7521 }, | 7541 }, |
7522 }, | 7542 }, |
7523 'placeholders': [], | 7543 'placeholders': [], |
7524 } | 7544 } |
OLD | NEW |