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: 365 | 142 # For your editing convenience: highest ID currently used: 366 |
143 # And don't forget to also update the EnterprisePolicies enum of | 143 # And don't forget to also update the EnterprisePolicies enum of |
144 # histograms.xml. | 144 # histograms.xml. |
145 # | 145 # |
146 # Placeholders: | 146 # Placeholders: |
147 # The following placeholder strings are automatically substituted: | 147 # The following placeholder strings are automatically substituted: |
148 # $1 -> Google Chrome / Chromium | 148 # $1 -> Google Chrome / Chromium |
149 # $2 -> Google Chrome OS / Chromium OS | 149 # $2 -> Google Chrome OS / Chromium OS |
150 # $3 -> Google Chrome Frame / Chromium Frame | 150 # $3 -> Google Chrome Frame / Chromium Frame |
151 # $6 is reserved for doc_writer | 151 # $6 is reserved for doc_writer |
152 # | 152 # |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 { | 289 { |
290 'name': 'NewTabPage', | 290 'name': 'NewTabPage', |
291 'type': 'group', | 291 'type': 'group', |
292 'caption': '''New Tab Page''', | 292 'caption': '''New Tab Page''', |
293 'desc': '''Configure the default New Tab page in <ph name="PRODUCT_NAME">$
1<ex>Google Chrome</ex></ph>.''', | 293 'desc': '''Configure the default New Tab page in <ph name="PRODUCT_NAME">$
1<ex>Google Chrome</ex></ph>.''', |
294 'policies': [ | 294 'policies': [ |
295 { | 295 { |
296 'name': 'NewTabPageLocation', | 296 'name': 'NewTabPageLocation', |
297 'type': 'string', | 297 'type': 'string', |
298 'schema': { 'type': 'string' }, | 298 'schema': { 'type': 'string' }, |
299 'supported_on': ['chrome.*:57-', 'chrome_os:57-'], | 299 'supported_on': ['chrome.*:58-', 'chrome_os:58-'], |
300 'features': { | 300 'features': { |
301 'can_be_recommended': True, | 301 'can_be_recommended': True, |
302 'dynamic_refresh': True, | 302 'dynamic_refresh': True, |
303 'per_profile': True, | 303 'per_profile': True, |
304 }, | 304 }, |
305 'example_value': 'https://www.chromium.org', | 305 'example_value': 'https://www.chromium.org', |
306 'id': 360, | 306 'id': 360, |
307 'caption': '''Configure the New Tab page URL''', | 307 'caption': '''Configure the New Tab page URL''', |
308 'tags': [], | 308 'tags': [], |
309 'desc': '''Configures the default New Tab page URL in <ph name="PRODUC
T_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing it. | 309 'desc': '''Configures the default New Tab page URL in <ph name="PRODUC
T_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing it. |
(...skipping 1372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1682 'desc': '''Configures the cache size that <ph name="PRODUCT_NAME">$1<ex>Go
ogle Chrome</ex></ph> will use for storing cached media files on the disk. | 1682 'desc': '''Configures the cache size that <ph name="PRODUCT_NAME">$1<ex>Go
ogle Chrome</ex></ph> will use for storing cached media files on the disk. |
1683 | 1683 |
1684 If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></
ph> will use the provided cache size regardless whether the user has specified t
he '--media-cache-size' flag or not. The value specified in this policy is not a
hard boundary but rather a suggestion to the caching system, any value below a
few megabytes is too small and will be rounded up to a sane minimum. | 1684 If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></
ph> will use the provided cache size regardless whether the user has specified t
he '--media-cache-size' flag or not. The value specified in this policy is not a
hard boundary but rather a suggestion to the caching system, any value below a
few megabytes is too small and will be rounded up to a sane minimum. |
1685 | 1685 |
1686 If the value of this policy is 0, the default cache size will be used but
the user will not be able to change it. | 1686 If the value of this policy is 0, the default cache size will be used but
the user will not be able to change it. |
1687 | 1687 |
1688 If this policy is not set the default size will be used and the user will
be able to override it with the --media-cache-size flag.''', | 1688 If this policy is not set the default size will be used and the user will
be able to override it with the --media-cache-size flag.''', |
1689 'label': '''Set media disk cache size''', | 1689 'label': '''Set media disk cache size''', |
1690 }, | 1690 }, |
1691 { | 1691 { |
| 1692 'name': 'DownloadRestrictions', |
| 1693 'type': 'int-enum', |
| 1694 'schema': { |
| 1695 'type': 'integer', |
| 1696 'enum': [ 0, 1, 2, 3 ], |
| 1697 }, |
| 1698 'items': [ |
| 1699 { |
| 1700 'name': 'AllowDownloads', |
| 1701 'value': 0, |
| 1702 'caption': '''No restrictions''', |
| 1703 }, |
| 1704 { |
| 1705 'name': 'DisableBlockedFiles', |
| 1706 'value': 1, |
| 1707 'caption': '''Disable blocked files''', |
| 1708 }, |
| 1709 { |
| 1710 'name': 'DisableBlockedAndDangerousFiles', |
| 1711 'value': 2, |
| 1712 'caption': '''Disable blocked and dangerous files''', |
| 1713 }, |
| 1714 { |
| 1715 'name': 'DisableDownloads', |
| 1716 'value': 3, |
| 1717 'caption': '''No downloads allowed''', |
| 1718 }, |
| 1719 ], |
| 1720 'supported_on': ['chrome.*:58-', 'chrome_os:58-'], |
| 1721 'features': { |
| 1722 'can_be_recommended': True, |
| 1723 'dynamic_refresh': True, |
| 1724 'per_profile': True, |
| 1725 }, |
| 1726 'example_value': 2, |
| 1727 'id': 366, |
| 1728 'caption': '''Allow download restrictions''', |
| 1729 'tags': ['local-data-access'], |
| 1730 'desc': '''Configures the type of downloads that <ph name="PRODUCT_NAME">$
1<ex>Google Chrome</ex></ph> will allow. |
| 1731 |
| 1732 If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></
ph> will prevent certain types of downloads. |
| 1733 |
| 1734 When the 'Disabled blocked files' option is chosen, all downloads are allo
wed, except for those that carry SafeBrowsing warnings. |
| 1735 |
| 1736 When the 'Disable blocked and dangerous files' option is chosen, all downl
oads allowed, except for those that carry SafeBrowsing warnings or are of potent
ially dangerous filetypes. |
| 1737 |
| 1738 When the 'No downloads allowed' option is chosen, download functionality i
s completely disabled. |
| 1739 |
| 1740 Note that these restrictions apply to downloads triggered from web page co
ntent, as well as the 'download link...' context menu option. |
| 1741 |
| 1742 But these restrictions do not apply to the save / download of the currentl
y displayed page, nor does it apply to saving as PDF from the printing options.'
'', |
| 1743 'label': '''Download restrictions''', |
| 1744 }, |
| 1745 { |
1692 'name': 'DownloadDirectory', | 1746 'name': 'DownloadDirectory', |
1693 'type': 'string', | 1747 'type': 'string', |
1694 'schema': { 'type': 'string' }, | 1748 'schema': { 'type': 'string' }, |
1695 'supported_on': ['chrome.*:11-', 'chrome_os:35-'], | 1749 'supported_on': ['chrome.*:11-', 'chrome_os:35-'], |
1696 'features': { | 1750 'features': { |
1697 'can_be_recommended': True, | 1751 'can_be_recommended': True, |
1698 'dynamic_refresh': True, | 1752 'dynamic_refresh': True, |
1699 'per_profile': True, | 1753 'per_profile': True, |
1700 }, | 1754 }, |
1701 'example_value': '/home/${user_name}/Downloads', | 1755 'example_value': '/home/${user_name}/Downloads', |
(...skipping 8011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9713 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', | 9767 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', |
9714 'text': 'Default Settings (users can override)', | 9768 'text': 'Default Settings (users can override)', |
9715 }, | 9769 }, |
9716 'doc_complex_policies_on_windows': { | 9770 'doc_complex_policies_on_windows': { |
9717 'desc': '''Text pointing the user to a help article for complex policies o
n Windows''', | 9771 'desc': '''Text pointing the user to a help article for complex policies o
n Windows''', |
9718 '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>'
'', | 9772 '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>'
'', |
9719 }, | 9773 }, |
9720 }, | 9774 }, |
9721 'placeholders': [], | 9775 'placeholders': [], |
9722 } | 9776 } |
OLD | NEW |