From a8a1b285b33da9ef31bccf4713851a31ecfe0de8 Mon Sep 17 00:00:00 2001 From: "gfeher@chromium.org" Date: Fri, 5 Nov 2010 16:54:48 +0000 Subject: Templates for the 'silent extension install' policy BUG=59782 TEST=build of policy_templates completes Review URL: http://codereview.chromium.org/4488001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65211 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/app/policy/policy_templates.grd | 19 +++++++++++++++---- chrome/app/policy/policy_templates.json | 17 ++++++++++++++++- 2 files changed, 31 insertions(+), 5 deletions(-) diff --git a/chrome/app/policy/policy_templates.grd b/chrome/app/policy/policy_templates.grd index 4176287..b8cbb24 100644 --- a/chrome/app/policy/policy_templates.grd +++ b/chrome/app/policy/policy_templates.grd @@ -414,12 +414,10 @@ templates and will be translated for each locale. --> - Allowed extensions + Extensions - Configures extension installation blacklist and whitelist. The user is not allowed to install blacklisted extensions. If you add an already installed extension to the blacklist, then it gets automatically uninstalled from the user's machine. - - A blacklist value of * means all extensions are blacklisted unless they are explicitly listed in the whitelist. + Configures extension-related policies. The user is not allowed to install blacklisted extensions unless they are whitelisted. You can also force $1Google Chrome to automatically install extensions by specifying them in ExtensionInstallForcelist. The blacklist takes precedence over the list of forced extensions. @@ -447,6 +445,19 @@ templates and will be translated for each locale. --> By default, all extensions are whitelisted, but if all extensions have been blacklisted by policy, the whitelist can be used to override that policy. + + Configure the list of force-installed extensions + + + Extension IDs and update URLs to be silently installed + + + Allows you to specify a list of extensions that will be installed silently, without user interaction. + + Each item of the list is a string, that contains an extension ID and an update URL delimited by a semicolon (;). For example: lcncmkcnkcdbbanbjakcencbaoegdjlp;https://clients2.google.com/service/update2/crx. For each item, $1Google Chrome will retrieve the extension specified by the ID from the specified URL and silently install it. The following pages explain how you can host extensions on your own server. About update URLs: http://code.google.com/chrome/extensions/autoupdate.html , about hosting extensions in general: http://code.google.com/chrome/extensions/hosting.html. + + Users will be unable to uninstall extensions that are specified by this policy. If you remove an extension from this list, then it will be automatically uninstalled by $1Google Chrome. Extensions that are blacklisted in 'ExtensionInstallBlacklist' and not whitelisted, cannot be force-installed by this policy. + Microsoft Windows XP SP2 or later diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json index 89ca271..3f3bd47 100644 --- a/chrome/app/policy/policy_templates.json +++ b/chrome/app/policy/policy_templates.json @@ -297,7 +297,9 @@ 'platforms': ['linux', 'mac', 'win'], 'products': ['chrome'], 'features': {'dynamic_refresh': 0}, - 'example_value': 'http://www.example1.com,http://www.example2.com,http://internalsite/', + 'example_value': + 'http://www.example1.com,' + 'http://www.example2.com,http://internalsite/', } }, ] @@ -324,6 +326,19 @@ 'features': {'dynamic_refresh': 1}, 'example_value': ['extension_id1', 'extension_id2'] } + }, + { + 'name': 'ExtensionInstallForcelist', + 'type': 'list', + 'annotations': { + 'platforms': ['linux', 'mac', 'win'], + 'products': ['chrome'], + 'features': {'dynamic_refresh': 0}, + 'example_value': [ + 'lcncmkcnkcdbbanbjakcencbaoegdjlp;' + 'https://clients2.google.com/service/update2/crx' + ] + } }] }, { -- cgit v1.1