Skip to content

InstallAddonsPermission

Configure the default extension install policy as well as origins for extension installs are allowed. This policy does not override turning off all extension installs.

FirefoxFirefox ESRFirefox Enterprise
Available since 60Available since 60Available since 149

CCK2 Equivalent: permissions.install
OMA-URI: InstallAddonsPermission
Preferences Affected: xpinstall.enabled, browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons, browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features

policies.json
{
"policies": {
"InstallAddonsPermission": {
"Allow": [
"http://example.org/",
"http://example.edu/"
],
"Default": true
}
}
}
JSON schema
InstallAddonsPermission JSON schema
{
"type": "object",
"properties": {
"Allow": {
"type": "array",
"items": {
"type": "string",
"format": "uri",
"pattern": "^([Ff][Ii][Ll][Ee]://.*|[Hh][Tt][Tt][Pp][Ss]?://[^/]+/?)$"
}
},
"Default": {
"type": "boolean"
}
}
}
  • Allow is a list of origins where extension installs are allowed.
  • Default determines whether or not extension installs are allowed by default.
Software\Policies\Mozilla\Firefox\InstallAddonsPermission\Allow\1 = "https://example.org"
Software\Policies\Mozilla\Firefox\InstallAddonsPermission\Allow\2 = "https://example.edu"
Software\Policies\Mozilla\Firefox\InstallAddonsPermission\Default = 0x1 | 0x0
<dict>
<key>InstallAddonsPermission</key>
<dict>
<key>Allow</key>
<array>
<string>http://example.org</string>
<string>http://example.edu</string>
</array>
<key>Default</key>
<true/> | <false/>
</dict>
</dict>