Bug 1522823 - Policy for whitelist/blacklist addons by ID. r=aswan,flod draft
authorMichael Kaply <mozilla@kaply.com>
Wed, 15 May 2019 01:22:39 +0000
changeset 11525 4c93048176ba6e807cfa16517ce781de58220966
parent 11524 a3e6cae7d21db4a736e7bf2b9a38b5f68557b36c
child 11526 285c82554a83df58d0fa00cb2c181ba9ab1e627a
push id232
push userflodolo@mozilla.com
push dateWed, 15 May 2019 17:49:22 +0000
reviewersaswan, flod
bugs1522823
Bug 1522823 - Policy for whitelist/blacklist addons by ID. r=aswan,flod Differential Revision: https://phabricator.services.mozilla.com/D27902 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: 61f3f19ee0de3b05060506337f8fb71a08c2e07b X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: 5fb7fcd568d6fbc0b205f28d7087a5ad3156456a X-Channel-Repo: releases/mozilla-release X-Channel-Revision: 455c1065dcbe14b73771df2db56aae43a44dfcf8
browser/browser/policies/policies-descriptions.ftl
browser/chrome/browser/browser.properties
--- a/browser/browser/policies/policies-descriptions.ftl
+++ b/browser/browser/policies/policies-descriptions.ftl
@@ -85,16 +85,18 @@ policy-DownloadDirectory = Set and lock 
 # “lock” means that the user won’t be able to change this setting
 policy-EnableTrackingProtection = Enable or disable Content Blocking and optionally lock it.
 
 # A “locked” extension can’t be disabled or removed by the user. This policy
 # takes 3 keys (“Install”, ”Uninstall”, ”Locked”), you can either keep them in
 # English or translate them as verbs.
 policy-Extensions = Install, uninstall or lock extensions. The Install option takes URLs or paths as parameters. The Uninstall and Locked options take extension IDs.
 
+policy-ExtensionSettings = Manage all aspects of extension installation.
+
 policy-ExtensionUpdate = Enable or disable automatic extension updates.
 
 policy-FirefoxHome = Configure Firefox Home.
 
 policy-FlashPlugin = Allow or deny usage of the Flash plugin.
 
 policy-HardwareAcceleration = If false, turn off hardware acceleration.
 
--- a/browser/chrome/browser/browser.properties
+++ b/browser/chrome/browser/browser.properties
@@ -41,16 +41,23 @@ xpinstallPromptAllowButton.accesskey=A
 xpinstallPromptMessage.install=Continue to Installation
 xpinstallPromptMessage.install.accesskey=C
 
 xpinstallDisabledMessageLocked=Software installation has been disabled by your system administrator.
 xpinstallDisabledMessage=Software installation is currently disabled. Click Enable and try again.
 xpinstallDisabledButton=Enable
 xpinstallDisabledButton.accesskey=n
 
+# LOCALIZATION NOTE (addonInstallBlockedByPolicy)
+# This message is shown when the installation of an add-on is blocked by
+# enterprise policy. %1$S is replaced by the name of the add-on.
+# %2$S is replaced by the ID of add-on. %3$S is a custom message that
+# the administration can add to the message.
+addonInstallBlockedByPolicy=%1$S (%2$S) is blocked by your system administrator.%3$S
+
 # LOCALIZATION NOTE (webextPerms.header)
 # This string is used as a header in the webextension permissions dialog,
 # %S is replaced with the localized name of the extension being installed.
 # See https://bug1308309.bmoattachments.org/attachment.cgi?id=8814612
 # for an example of the full dialog.
 # Note, this string will be used as raw markup. Avoid characters like <, >, &
 webextPerms.header=Add %S?