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: 301 | 126 # For your editing convenience: highest ID currently used: 302 |
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 7221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
7358 'features': { | 7358 'features': { |
7359 'dynamic_refresh': False, | 7359 'dynamic_refresh': False, |
7360 'per_profile': False, | 7360 'per_profile': False, |
7361 }, | 7361 }, |
7362 'example_value': True, | 7362 'example_value': True, |
7363 'id': 301, | 7363 'id': 301, |
7364 'caption': '''Allows QUIC protocol''', | 7364 'caption': '''Allows QUIC protocol''', |
7365 'desc': '''If this policy is set to true or not set usage of QUIC protocol in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> is allowed. | 7365 'desc': '''If this policy is set to true or not set usage of QUIC protocol in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> is allowed. |
7366 If this policy is set to false usage of QUIC protocol is disallowed.''', | 7366 If this policy is set to false usage of QUIC protocol is disallowed.''', |
7367 }, | 7367 }, |
7368 { | |
7369 'name': 'KeyPermissions', | |
7370 'type': 'dict', | |
7371 'schema': { | |
7372 'type': 'object', | |
7373 'additionalProperties': { | |
7374 'type': 'object', | |
7375 'properties': { | |
7376 'allowCorporateKeyUsage': { | |
7377 'description': '''If set to true, this extension can use all corpo rate keys to sign arbitrary data. If set to false, it cannot access any corporat e key and the user can not grant such permission either.''', | |
bartfab (slow)
2015/06/15 17:28:16
1: What is a corporate key? I never heard or saw t
pneubeck (no reviews)
2015/06/17 08:59:56
Changed it to "keys designated for corporate usage
bartfab (slow)
2015/06/17 09:57:40
1: I think a bit more explanation would be useful.
pneubeck (no reviews)
2015/06/17 13:00:36
i extended the description of the whole policy.
O
| |
7378 'type': 'boolean', | |
7379 }, | |
7380 }, | |
7381 }, | |
7382 }, | |
7383 'supported_on': ['chrome_os:45-'], | |
7384 'features': { | |
7385 'dynamic_refresh': True, | |
7386 'per_profile': True, | |
7387 }, | |
7388 'example_value': { | |
7389 'extension1': { | |
7390 'allowCorporateKeyUsage': 'true' | |
7391 }, | |
7392 'extension2': { | |
7393 'allowCorporateKeyUsage': 'false' | |
7394 } | |
7395 }, | |
7396 'id': 302, | |
7397 'caption': 'Key Permissions', | |
7398 'desc': '''Grants usage of private keys by extensions. | |
7368 | 7399 |
7400 By default an extension cannot use a private key for signing data, which i s equivalent to setting allowCorporateKeyUsage to false for that extension. A us er cannot workaround that restriction. | |
bartfab (slow)
2015/06/15 17:28:15
Nit 1: Of course you can use "private keys" in gen
pneubeck (no reviews)
2015/06/17 08:59:56
Done.
| |
7401 | |
7402 Only if allowCorporateKeyUsage is set to true for an extension, it can use any private key marked for corporate usage to sign arbitrary data. This permiss ion should only be granted if the extension is trusted to secure access to the k ey against attackers.''', | |
7403 }, | |
7369 ], | 7404 ], |
7370 'messages': { | 7405 'messages': { |
7371 # Messages that are not associated to any policies. | 7406 # Messages that are not associated to any policies. |
7372 'win_supported_winxpsp2': { | 7407 'win_supported_winxpsp2': { |
7373 '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:'.''', | 7408 '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:'.''', |
7374 'text': '''Microsoft Windows XP SP2 or later''' | 7409 'text': '''Microsoft Windows XP SP2 or later''' |
7375 }, | 7410 }, |
7376 'mac_chrome_preferences': { | 7411 'mac_chrome_preferences': { |
7377 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', | 7412 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', |
7378 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' | 7413 '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... | |
7484 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 7519 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
7485 'text': 'Default Settings (users can override)', | 7520 'text': 'Default Settings (users can override)', |
7486 }, | 7521 }, |
7487 'doc_complex_policies_on_windows': { | 7522 'doc_complex_policies_on_windows': { |
7488 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', | 7523 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', |
7489 '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>''' , | 7524 '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>''' , |
7490 }, | 7525 }, |
7491 }, | 7526 }, |
7492 'placeholders': [], | 7527 'placeholders': [], |
7493 } | 7528 } |
OLD | NEW |