Index: components/policy/resources/policy_templates.json |
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json |
index 32be334f6c0e21c33e4932052806571511a1823a..21bc95319272528456dbccdd756bb239ac301556 100644 |
--- a/components/policy/resources/policy_templates.json |
+++ b/components/policy/resources/policy_templates.json |
@@ -1761,6 +1761,10 @@ |
'allowed_permissions': { |
'$ref': 'ListOfPermissions', |
}, |
+ 'minimum_version_required': { |
+ 'type': 'string', |
+ 'pattern': '^[0-9]+([.][0-9]+)*$', |
+ }, |
}, |
}, |
'^update_url:': { |
@@ -1810,6 +1814,7 @@ |
'abcdefghijklmnopabcdefghijklmnop' : { |
'installation_mode': 'allowed', |
'blocked_permissions': ['history'], |
+ 'minimum_version_required': '1.0.1', |
}, |
'bcdefghijklmnopabcdefghijklmnopa' : { |
'installation_mode': 'force_installed', |
@@ -1850,6 +1855,8 @@ |
"allowed_permissions": similar to "blocked_permissions", but instead explicitly allow some permissions which might be blocked by global blocked permission list, thus can not be configured for "*" extension. Note that this setting doesn't give granted permissions to extensions automatically. |
+ "minimum_version_required": maps to a version string. The format of the 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>. Extension with version older than the specified minimum version will be disabled. This applies to force-installed extensions as well. |
+ |
The following settings can be used only for the default "*" configuration: |
"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. |