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 4168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4179 Each URL pattern can either be a pattern for local files or a generic URL
pattern. Local file patterns are of the format 'file://path', where path should
be an absolute path to block. All file system locations for which that path is a
prefix will be blocked. | 4179 Each URL pattern can either be a pattern for local files or a generic URL
pattern. Local file patterns are of the format 'file://path', where path should
be an absolute path to block. All file system locations for which that path is a
prefix will be blocked. |
4180 | 4180 |
4181 A generic URL pattern has the format 'scheme://host:port/path'. | 4181 A generic URL pattern has the format 'scheme://host:port/path'. |
4182 If present, only the specified scheme will be blocked. If the scheme:// pr
efix is not specified, all schemes are blocked. | 4182 If present, only the specified scheme will be blocked. If the scheme:// pr
efix is not specified, all schemes are blocked. |
4183 The host is required and can be a hostname or an IP address. Subdomains of
a hostname will also be blocked. To prevent blocking subdomains, include a '.'
before the hostname. The special hostname '*' will block all domains. | 4183 The host is required and can be a hostname or an IP address. Subdomains of
a hostname will also be blocked. To prevent blocking subdomains, include a '.'
before the hostname. The special hostname '*' will block all domains. |
4184 The optional port is a valid port number from 1 to 65535. If none is speci
fied, all ports are blocked. | 4184 The optional port is a valid port number from 1 to 65535. If none is speci
fied, all ports are blocked. |
4185 If the optional path is specified, only paths with that prefix will be blo
cked. | 4185 If the optional path is specified, only paths with that prefix will be blo
cked. |
4186 | 4186 |
4187 Exceptions can be defined in the URL whitelist policy. These policies are
limited to 1000 entries; subsequent entries will be ignored. | 4187 Exceptions can be defined in the URL whitelist policy. These policies are
limited to 1000 entries; subsequent entries will be ignored. |
4188 | 4188 |
| 4189 Note that it is not recommended to block internal 'chrome://*' URLs since
this may lead to unexpected errors. |
| 4190 |
4189 If this policy is not set no URL will be blacklisted in the browser.''', | 4191 If this policy is not set no URL will be blacklisted in the browser.''', |
4190 }, | 4192 }, |
4191 { | 4193 { |
4192 'name': 'URLWhitelist', | 4194 'name': 'URLWhitelist', |
4193 'type': 'list', | 4195 'type': 'list', |
4194 'schema': { | 4196 'schema': { |
4195 'type': 'array', | 4197 'type': 'array', |
4196 'items': { 'type': 'string' }, | 4198 'items': { 'type': 'string' }, |
4197 }, | 4199 }, |
4198 'supported_on': [ | 4200 'supported_on': [ |
(...skipping 3977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8176 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', | 8178 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', |
8177 'text': 'Default Settings (users can override)', | 8179 'text': 'Default Settings (users can override)', |
8178 }, | 8180 }, |
8179 'doc_complex_policies_on_windows': { | 8181 'doc_complex_policies_on_windows': { |
8180 'desc': '''Text pointing the user to a help article for complex policies o
n Windows''', | 8182 'desc': '''Text pointing the user to a help article for complex policies o
n Windows''', |
8181 '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>'
'', | 8183 '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>'
'', |
8182 }, | 8184 }, |
8183 }, | 8185 }, |
8184 'placeholders': [], | 8186 'placeholders': [], |
8185 } | 8187 } |
OLD | NEW |