Extensions can be installed/enabled even though the xpinstall is disabled via policy (if policies are applied before creating the Fx profile)
Categories
(Firefox :: Enterprise Policies, defect, P1)
Tracking
()
People
(Reporter: emilghitta, Assigned: mkaply)
References
Details
Attachments
(3 files, 1 obsolete file)
Affected versions
- Firefox 67.0a1 (BuildId:20190219213951).
- Firefox 66.0b9 (BuildId:20190218131312).
- Firefox 65.0.1 (BuildId:20190211233335).
- Firefox 60.5.1esr (BuildId:20190211182645).
Affected platforms
- Windows 10 64bit.
- macOS 10.13.6
- Ubuntu 18.04 64bit.
Steps to reproduce
- Create the “distribution” folder.
- Add the attached json file inside the “distribution” folder.
- Launch Firefox with a clean profile.
- Paste the attached .xpi file inside the extensions directory.
- Restart Firefox.
Expected result
- The extension can’t be installed/enabled and the .xpi file is removed from the extensions folder.
Actual result
- The extension can be successfully installed/enabled.
Regression range
- I don’t think that this is a regression.
Additional notes
- Please note that you must follow the mentioned steps in order to reproduce this (You need to create the distribution folder and add the .json file inside before creating a new Firefox profile).
- For further information regarding this issue, please observe the attached screencast.
Reporter | ||
Comment 1•6 years ago
|
||
Reporter | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
The policies was not designed to address the distribution folder because a user wouldn't be able to place extensions into their distribution folder (since this requires admin access).
Reporter | ||
Comment 4•6 years ago
|
||
Leaving a comment here to add more transparency (already discussed this in private with mkpaly). The .xpi file was placed inside the "extensions" folder, not inside the distribution one.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 6•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Comment 7•3 years ago
|
||
I've tried this multiple ways and it's working for me now with no changes.
Emil, if you get a chance, can you retest? I've tried with windows policy and policies.json and both seem to prevent the install.
Assignee | ||
Updated•3 years ago
|
Reporter | ||
Comment 8•3 years ago
|
||
Yep. I'm unable to reproduce this issue using Firefox 100.0b8 on Windows 10 64bit and macOS 11.
The add-on is not installed/enabled after manually placing the xpi inside the profile's extension folder & restarting Firefox.
I can see that the "Extension installs are disabled by enterprise policy" log is being thrown inside the browser console after restart.
Description
•