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 2457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2468 'example_value': { | 2468 'example_value': { |
2469 'abcdefghijklmnopabcdefghijklmnop' : { | 2469 'abcdefghijklmnopabcdefghijklmnop' : { |
2470 'installation_mode': 'allowed', | 2470 'installation_mode': 'allowed', |
2471 'blocked_permissions': ['history'], | 2471 'blocked_permissions': ['history'], |
2472 'minimum_version_required': '1.0.1', | 2472 'minimum_version_required': '1.0.1', |
2473 }, | 2473 }, |
2474 'bcdefghijklmnopabcdefghijklmnopa' : { | 2474 'bcdefghijklmnopabcdefghijklmnopa' : { |
2475 'installation_mode': 'force_installed', | 2475 'installation_mode': 'force_installed', |
2476 'update_url': 'https://example.com/update_url', | 2476 'update_url': 'https://example.com/update_url', |
2477 'allowed_permissions': ['downloads'], | 2477 'allowed_permissions': ['downloads'], |
| 2478 'runtime_blocked_hosts': ['*://*.example.com'], |
| 2479 'runtime_allowed_hosts': ['*://good.example.com'], |
2478 }, | 2480 }, |
2479 'update_url:https://www.example.com/update.xml': { | 2481 'update_url:https://www.example.com/update.xml': { |
2480 'blocked_permissions': ['wallpaper'], | 2482 'blocked_permissions': ['wallpaper'], |
2481 }, | 2483 }, |
2482 '*': { | 2484 '*': { |
2483 'installation_mode': 'blocked', | 2485 'installation_mode': 'blocked', |
2484 'blocked_permissions': ['downloads', 'bookmarks'], | 2486 'blocked_permissions': ['downloads', 'bookmarks'], |
2485 'install_sources': ['https://company-intranet/chromeapps'], | 2487 'install_sources': ['https://company-intranet/chromeapps'], |
2486 'allowed_types': ['hosted_app'], | 2488 'allowed_types': ['hosted_app'], |
2487 }, | 2489 }, |
(...skipping 24 matching lines...) Expand all Loading... |
2512 "allowed_permissions": similar to "blocked_permissions", but instead e
xplicitly allow some permissions which might be blocked by global blocked permis
sion list, thus can not be configured for "*" extension. Note that this setting
doesn't give granted permissions to extensions automatically. | 2514 "allowed_permissions": similar to "blocked_permissions", but instead e
xplicitly allow some permissions which might be blocked by global blocked permis
sion list, thus can not be configured for "*" extension. Note that this setting
doesn't give granted permissions to extensions automatically. |
2513 | 2515 |
2514 "minimum_version_required": maps to a version string. The format of th
e version string is the same as the one used in extension manifest, as described
at <ph name="LINK_TO_EXTENSION_DOC4">https://developer.chrome.com/apps/manifest
/version</ph>. An extension with a version older than the specified minimum vers
ion will be disabled. This applies to force-installed extensions as well. | 2516 "minimum_version_required": maps to a version string. The format of th
e version string is the same as the one used in extension manifest, as described
at <ph name="LINK_TO_EXTENSION_DOC4">https://developer.chrome.com/apps/manifest
/version</ph>. An extension with a version older than the specified minimum vers
ion will be disabled. This applies to force-installed extensions as well. |
2515 | 2517 |
2516 The following settings can be used only for the default "*" configurat
ion: | 2518 The following settings can be used only for the default "*" configurat
ion: |
2517 | 2519 |
2518 "install_sources": Each item in this list is an extension-style match
pattern (see https://developer.chrome.com/extensions/match_patterns). Users will
be able to easily install items from any URL that matches an item in this list.
Both the location of the *.crx file and the page where the download is started
from (i.e. the referrer) must be allowed by these patterns. | 2520 "install_sources": Each item in this list is an extension-style match
pattern (see https://developer.chrome.com/extensions/match_patterns). Users will
be able to easily install items from any URL that matches an item in this list.
Both the location of the *.crx file and the page where the download is started
from (i.e. the referrer) must be allowed by these patterns. |
2519 | 2521 |
2520 "allowed_types": This setting whitelists the allowed types of extensio
n/apps that can be installed in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex>
</ph>. The value is a list of strings, each of which should be one of the follo
wing: "extension", "theme", "user_script", "hosted_app", "legacy_packaged_app",
"platform_app". See the <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> ex
tensions documentation for more information on these types. | 2522 "allowed_types": This setting whitelists the allowed types of extensio
n/apps that can be installed in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex>
</ph>. The value is a list of strings, each of which should be one of the follo
wing: "extension", "theme", "user_script", "hosted_app", "legacy_packaged_app",
"platform_app". See the <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> ex
tensions documentation for more information on these types. |
2521 "blocked_install_message": If a user tries to install an extension, bu
t it is blocked by policy the Chrome Webstore displays a generic error message.
This setting allows you to append text to the error message. This could be be us
ed to direct users to your help desk, explain why a particular extension is bloc
ked, or something else. This error message will be truncated if longer than 1000
characters. | 2523 "blocked_install_message": If a user tries to install an extension, bu
t it is blocked by policy the Chrome Webstore displays a generic error message.
This setting allows you to append text to the error message. This could be be us
ed to direct users to your help desk, explain why a particular extension is bloc
ked, or something else. This error message will be truncated if longer than 1000
characters. |
| 2524 "runtime_blocked_hosts": Accepts a list of hosts that an extension wil
l be blocked from interacting with. This includes injecting javascript, altering
and viewing webRequests / webNavigation, viewing and altering cookies. The form
at is similar to Match Patterns except no paths may be defined. e.g. "*://*.exam
ple.com". This also supports effective TLD wildcarding e.g. "*://example.*". |
| 2525 "runtime_allowed_hosts": Accepts a list of hosts that an extension can
interact with regardless of whether they are listed in "runtime_blocked_hosts".
This is the same format as "runtime_blocked_hosts". |
2522 | 2526 |
2523 This policy isn't ready for usage yet, please don't use it. | 2527 This policy isn't ready for usage yet, please don't use it. |
2524 ''' | 2528 ''' |
2525 }, | 2529 }, |
2526 ], | 2530 ], |
2527 }, | 2531 }, |
2528 { | 2532 { |
2529 'name': 'ShowHomeButton', | 2533 'name': 'ShowHomeButton', |
2530 'type': 'main', | 2534 'type': 'main', |
2531 'schema': { 'type': 'boolean' }, | 2535 'schema': { 'type': 'boolean' }, |
(...skipping 7142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9674 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', | 9678 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', |
9675 'text': 'Default Settings (users can override)', | 9679 'text': 'Default Settings (users can override)', |
9676 }, | 9680 }, |
9677 'doc_complex_policies_on_windows': { | 9681 'doc_complex_policies_on_windows': { |
9678 'desc': '''Text pointing the user to a help article for complex policies o
n Windows''', | 9682 'desc': '''Text pointing the user to a help article for complex policies o
n Windows''', |
9679 '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>'
'', | 9683 '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>'
'', |
9680 }, | 9684 }, |
9681 }, | 9685 }, |
9682 'placeholders': [], | 9686 'placeholders': [], |
9683 } | 9687 } |
OLD | NEW |