| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 # policy configuration files. 'dynamic_refresh' controls if the generated | 87 # policy configuration files. 'dynamic_refresh' controls if the generated |
| 88 # documentation should state that the policy supports dynamic refresh or not. | 88 # documentation should state that the policy supports dynamic refresh or not. |
| 89 # Supporting dynamic refresh means that Chrome respects the changes to the | 89 # Supporting dynamic refresh means that Chrome respects the changes to the |
| 90 # policy immediately, without the need for restart. | 90 # policy immediately, without the need for restart. |
| 91 # | 91 # |
| 92 # IDs: | 92 # IDs: |
| 93 # Since a Protocol Buffer definition is generated from this file, unique and | 93 # Since a Protocol Buffer definition is generated from this file, unique and |
| 94 # persistent IDs for all fields (but not for groups!) are needed. These are | 94 # persistent IDs for all fields (but not for groups!) are needed. These are |
| 95 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 95 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
| 96 # because doing so would break the deployed wire format! | 96 # because doing so would break the deployed wire format! |
| 97 # For your editing convenience: highest ID currently used: 105 | 97 # For your editing convenience: highest ID currently used: 104 |
| 98 # | 98 # |
| 99 # Placeholders: | 99 # Placeholders: |
| 100 # The following placeholder strings are automatically substituted: | 100 # The following placeholder strings are automatically substituted: |
| 101 # $1 -> Google Chrome / Chromium | 101 # $1 -> Google Chrome / Chromium |
| 102 # $2 -> Google Chrome OS / Chromium OS | 102 # $2 -> Google Chrome OS / Chromium OS |
| 103 # $3 -> Google Chrome Frame / Chromium Frame | 103 # $3 -> Google Chrome Frame / Chromium Frame |
| 104 # $6 is reserved for doc_writer | 104 # $6 is reserved for doc_writer |
| 105 # | 105 # |
| 106 # Device Policy: | 106 # Device Policy: |
| 107 # An additional flag device_only (optional, defaults to False) indicates | 107 # An additional flag device_only (optional, defaults to False) indicates |
| (...skipping 1157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1265 }, | 1265 }, |
| 1266 ], | 1266 ], |
| 1267 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'], | 1267 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'], |
| 1268 'features': {'dynamic_refresh': 1}, | 1268 'features': {'dynamic_refresh': 1}, |
| 1269 'example_value': 0, | 1269 'example_value': 0, |
| 1270 'id': 54, | 1270 'id': 54, |
| 1271 'caption': '''Default geolocation setting''', | 1271 'caption': '''Default geolocation setting''', |
| 1272 'desc': '''Allows you to set whether websites are allowed to track the
users' physical location. Tracking the users' physical location can be allowed
by default, denied by default or the user can be asked everytime a website reque
sts the pysical location.''', | 1272 'desc': '''Allows you to set whether websites are allowed to track the
users' physical location. Tracking the users' physical location can be allowed
by default, denied by default or the user can be asked everytime a website reque
sts the pysical location.''', |
| 1273 }, | 1273 }, |
| 1274 { | 1274 { |
| 1275 'name': 'DefaultAutoSelectCertificateSetting', | |
| 1276 'type': 'int-enum', | |
| 1277 'items': [ | |
| 1278 { | |
| 1279 'name': 'AllowAutoSelectCertificate', | |
| 1280 'value': 1, | |
| 1281 'caption': '''Allows <ph name="PRODUCT_NAME">$1<ex>Google Chrome</
ex></ph> to automatically select client certificates.''' | |
| 1282 }, | |
| 1283 { | |
| 1284 'name': 'AskAutoSelectCertificate', | |
| 1285 'value': 3, | |
| 1286 'caption': '''Asks the user to select a certificate whenever a sit
e requests a client certificate.''', | |
| 1287 }, | |
| 1288 ], | |
| 1289 'supported_on': ['chrome.*:15-', 'chrome_os:0.15-'], | |
| 1290 'features': {'dynamic_refresh': 1}, | |
| 1291 'example_value': 1, | |
| 1292 'id': 102, | |
| 1293 'caption': '''Default setting for selecting client certificates''', | |
| 1294 'desc': '''Allows you to set whether a client certificate should be au
tomatically selected by <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> (i
f possible), the user should be asked to select a client certificate or no certi
ficates should be sent to sites requesting client certificates.''', | |
| 1295 }, | |
| 1296 { | |
| 1297 'name': 'AutoSelectCertificateForUrls', | 1275 'name': 'AutoSelectCertificateForUrls', |
| 1298 'type': 'list', | 1276 'type': 'list', |
| 1299 'supported_on': ['chrome.*:15-', 'chrome_os:0.15-'], | 1277 'supported_on': ['chrome.*:15-', 'chrome_os:0.15-'], |
| 1300 'features': {'dynamic_refresh': 1}, | 1278 'features': {'dynamic_refresh': 1}, |
| 1301 'example_value': ['https://www.example.com', '[*.]example.edu'], | 1279 'example_value': ['"{\"pattern\":\"https://www.example.com\",\"filter\
":{\"ISSUER\":{\"CN\":\"certificate issuer name\"}}}"'], |
| 1302 'id': 103, | 1280 'id': 102, |
| 1303 'caption': '''Automatically select client certificates for these sites
''', | 1281 'caption': '''Automatically select client certificates for these sites
''', |
| 1304 'desc': '''Allows you to specify a list of url patterns that specify s
ites for which <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> should auto
matically select a client certificates, if the site requests a certificate.''', | 1282 'desc': '''Allows you to specify a list of url patterns that specify s
ites for which <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> should auto
matically select a client certificates, if the site requests a certificate.''', |
| 1305 }, | 1283 }, |
| 1306 { | 1284 { |
| 1307 'name': 'CookiesAllowedForUrls', | 1285 'name': 'CookiesAllowedForUrls', |
| 1308 'type': 'list', | 1286 'type': 'list', |
| 1309 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'], | 1287 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'], |
| 1310 'features': {'dynamic_refresh': 1}, | 1288 'features': {'dynamic_refresh': 1}, |
| 1311 'example_value': ['http://www.example.com', '[*.]example.edu'], | 1289 'example_value': ['http://www.example.com', '[*.]example.edu'], |
| 1312 'id': 77, | 1290 'id': 77, |
| (...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1778 'id': 96, | 1756 'id': 96, |
| 1779 'caption': '''Prevent app promotions from appearing on the new tab page'''
, | 1757 'caption': '''Prevent app promotions from appearing on the new tab page'''
, |
| 1780 'desc': '''When set to True, promotions for Chrome Web Store apps will not
appear on the new tab page.''', | 1758 'desc': '''When set to True, promotions for Chrome Web Store apps will not
appear on the new tab page.''', |
| 1781 }, | 1759 }, |
| 1782 { | 1760 { |
| 1783 'name': 'URLBlacklist', | 1761 'name': 'URLBlacklist', |
| 1784 'type': 'list', | 1762 'type': 'list', |
| 1785 'supported_on': ['chrome.*:15-', 'chrome_os:0.15-'], | 1763 'supported_on': ['chrome.*:15-', 'chrome_os:0.15-'], |
| 1786 'features': {'dynamic_refresh': 1}, | 1764 'features': {'dynamic_refresh': 1}, |
| 1787 'example_value': ['example.com', 'https://ssl.server.com', 'hosting.com/ba
d_path', 'http://server:8080/path', '.exact.hostname.com', '*'], | 1765 'example_value': ['example.com', 'https://ssl.server.com', 'hosting.com/ba
d_path', 'http://server:8080/path', '.exact.hostname.com', '*'], |
| 1788 'id': 104, | 1766 'id': 103, |
| 1789 'caption': '''Block access to a list of URLs''', | 1767 'caption': '''Block access to a list of URLs''', |
| 1790 'desc': '''Blocks access to the listed URLs. | 1768 'desc': '''Blocks access to the listed URLs. |
| 1791 | 1769 |
| 1792 This policy prevents the user from loading web pages from blacklisted URLs
. | 1770 This policy prevents the user from loading web pages from blacklisted URLs
. |
| 1793 | 1771 |
| 1794 A URL has the format 'scheme://host:port/path'. | 1772 A URL has the format 'scheme://host:port/path'. |
| 1795 The optional scheme can be http, https or ftp. Only this scheme will be bl
ocked; if none is specified, all schemes are blocked. | 1773 The optional scheme can be http, https or ftp. Only this scheme will be bl
ocked; if none is specified, all schemes are blocked. |
| 1796 The host can be a hostname or an IP address. Subdomains of a hostname will
also be blocked. To prevent blocking subdomains, include a '.' before the hostn
ame. The special hostname '*' will block all domains. | 1774 The host can be a hostname or an IP address. Subdomains of a hostname will
also be blocked. To prevent blocking subdomains, include a '.' before the hostn
ame. The special hostname '*' will block all domains. |
| 1797 The optional port is a valid port number from 1 to 65535. If none is speci
fied, all ports are blocked. | 1775 The optional port is a valid port number from 1 to 65535. If none is speci
fied, all ports are blocked. |
| 1798 If the optional path is specified, only paths with that prefix will be blo
cked. | 1776 If the optional path is specified, only paths with that prefix will be blo
cked. |
| 1799 | 1777 |
| 1800 Exceptions can be defined in the URL whitelist policy. These policies are
limited to 100 entries; subsequent entries will be ignored.''', | 1778 Exceptions can be defined in the URL whitelist policy. These policies are
limited to 100 entries; subsequent entries will be ignored.''', |
| 1801 }, | 1779 }, |
| 1802 { | 1780 { |
| 1803 'name': 'URLWhitelist', | 1781 'name': 'URLWhitelist', |
| 1804 'type': 'list', | 1782 'type': 'list', |
| 1805 'supported_on': ['chrome.*:15-', 'chrome_os:0.15-'], | 1783 'supported_on': ['chrome.*:15-', 'chrome_os:0.15-'], |
| 1806 'features': {'dynamic_refresh': 1}, | 1784 'features': {'dynamic_refresh': 1}, |
| 1807 'example_value': ['example.com', 'https://ssl.server.com', 'hosting.com/ba
d_path', 'http://server:8080/path', '.exact.hostname.com'], | 1785 'example_value': ['example.com', 'https://ssl.server.com', 'hosting.com/ba
d_path', 'http://server:8080/path', '.exact.hostname.com'], |
| 1808 'id': 105, | 1786 'id': 104, |
| 1809 'caption': '''Allows access to a list of URLs''', | 1787 'caption': '''Allows access to a list of URLs''', |
| 1810 'desc': '''Allows access to the listed URLs, as exceptions to the URL blac
klist. | 1788 'desc': '''Allows access to the listed URLs, as exceptions to the URL blac
klist. |
| 1811 | 1789 |
| 1812 See the description of the URL blacklist policy for the format of entries
of this list. | 1790 See the description of the URL blacklist policy for the format of entries
of this list. |
| 1813 | 1791 |
| 1814 This policy can be used to open exceptions to restrictive blacklists. For
example, '*' can be blacklisted to block all requests, and this policy can be us
ed to allow access to a limited list of URLs. It can be used to open exceptions
to certain schemes, subdomains of other domains, ports, or specific paths. | 1792 This policy can be used to open exceptions to restrictive blacklists. For
example, '*' can be blacklisted to block all requests, and this policy can be us
ed to allow access to a limited list of URLs. It can be used to open exceptions
to certain schemes, subdomains of other domains, ports, or specific paths. |
| 1815 | 1793 |
| 1816 The most specific filter will determine if a URL is blocked or allowed. Th
e whitelist takes precedence over the blacklist. | 1794 The most specific filter will determine if a URL is blocked or allowed. Th
e whitelist takes precedence over the blacklist. |
| 1817 | 1795 |
| 1818 This policy is limited to 100 entries; subsequent entries will be ignored.
''', | 1796 This policy is limited to 100 entries; subsequent entries will be ignored.
''', |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1901 'desc': '''The name of the feature that indicates for a given policy that
changes to it are respected by Chrome without a browser restart''', | 1879 'desc': '''The name of the feature that indicates for a given policy that
changes to it are respected by Chrome without a browser restart''', |
| 1902 'text': '''Dynamic Policy Refresh''' | 1880 'text': '''Dynamic Policy Refresh''' |
| 1903 }, | 1881 }, |
| 1904 'doc_deprecated': { | 1882 'doc_deprecated': { |
| 1905 'desc': '''Text appended in parentheses to the policy name to indicate t h
at it has been deprecated''', | 1883 'desc': '''Text appended in parentheses to the policy name to indicate t h
at it has been deprecated''', |
| 1906 'text': 'deprecated', | 1884 'text': 'deprecated', |
| 1907 } | 1885 } |
| 1908 }, | 1886 }, |
| 1909 'placeholders': [], | 1887 'placeholders': [], |
| 1910 } | 1888 } |
| OLD | NEW |