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: 362 | 142 # For your editing convenience: highest ID currently used: 363 |
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': '''All downloads allowed, except for those that carry SafeB rowsing warnings.''', | |
pastarmovj
2017/02/06 07:45:00
I know this CL is only a prototype still but I wil
MAD
2017/02/06 19:41:33
Done.
| |
1708 }, | |
1709 { | |
1710 'name': 'DisableBlockedAndDangerousFiles', | |
1711 'value': 2, | |
1712 'caption': '''All downloads allowed, except for those that carry SafeB rowsing warnings or are of potentially dangerous filetypes.''', | |
1713 }, | |
1714 { | |
1715 'name': 'DisableDownloads', | |
1716 'value': 3, | |
1717 'caption': '''No downloads allowed, download functionality is disabled .''', | |
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': 363, | |
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 'label': '''Allow download restrictions''', | |
pastarmovj
2017/02/06 07:45:00
Download restrictions" might be a better name imho
MAD
2017/02/06 19:41:33
Done.
| |
1734 }, | |
1735 { | |
1692 'name': 'DownloadDirectory', | 1736 'name': 'DownloadDirectory', |
1693 'type': 'string', | 1737 'type': 'string', |
1694 'schema': { 'type': 'string' }, | 1738 'schema': { 'type': 'string' }, |
1695 'supported_on': ['chrome.*:11-', 'chrome_os:35-'], | 1739 'supported_on': ['chrome.*:11-', 'chrome_os:35-'], |
1696 'features': { | 1740 'features': { |
1697 'can_be_recommended': True, | 1741 'can_be_recommended': True, |
1698 'dynamic_refresh': True, | 1742 'dynamic_refresh': True, |
1699 'per_profile': True, | 1743 'per_profile': True, |
1700 }, | 1744 }, |
1701 'example_value': '/home/${user_name}/Downloads', | 1745 'example_value': '/home/${user_name}/Downloads', |
(...skipping 7943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
9645 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 9689 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
9646 'text': 'Default Settings (users can override)', | 9690 'text': 'Default Settings (users can override)', |
9647 }, | 9691 }, |
9648 'doc_complex_policies_on_windows': { | 9692 'doc_complex_policies_on_windows': { |
9649 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', | 9693 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', |
9650 '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>' '', | 9694 '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>' '', |
9651 }, | 9695 }, |
9652 }, | 9696 }, |
9653 'placeholders': [], | 9697 'placeholders': [], |
9654 } | 9698 } |
OLD | NEW |