Closed
Bug 1443242
Opened 6 years ago
Closed 6 years ago
Policy: Block about:debugging when InstallAddons -> Default=false is in use
Categories
(Firefox :: Enterprise Policies, defect)
Firefox
Enterprise Policies
Tracking
()
RESOLVED
FIXED
Firefox 61
People
(Reporter: mkaply, Assigned: kanika16047)
References
Details
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
Felipe
:
review+
jcristau
:
approval-mozilla-beta+
|
Details |
We need to disable about:debugging. I see a few options. 1. Add a unique policy. 2. Disable as part of disabling add-on installs. 3. Disable as part of the developer tools policies. Thoughts?
Comment 1•6 years ago
|
||
We can make it as part of _both_ add-on installs or developer tools.. As an example, we added disabling devtools.chrome.enabled to DisableAboutConfig too
Updated•6 years ago
|
Assignee: nobody → kanika16047
Comment hidden (mozreview-request) |
Comment 3•6 years ago
|
||
mozreview-review |
Comment on attachment 8965022 [details] Bug 1443242 - Disable about:debugging in InstallAddons Policy https://reviewboard.mozilla.org/r/233758/#review239394 ::: browser/components/enterprisepolicies/Policies.jsm:513 (Diff revision 1) > if ("Allow" in param) { > addAllowDenyPermissions("install", param.Allow, null); > } > if ("Default" in param) { > setAndLockPref("xpinstall.enabled", param.Default); > + manager.disallowFeature("about:debugging"); The policy supports locking the "xpinstall.enabled" pref to both true or false. It probably doesn't make a lot of sense as a use-case for someone locking it to true (which is already the default), but it could happen. So, just to be 100% correct, we only want to block about:debugging when param.Default is false (i.e., the sys admin is blocking add-ons from being installed)
Comment hidden (mozreview-request) |
Comment 5•6 years ago
|
||
mozreview-review |
Comment on attachment 8965022 [details] Bug 1443242 - Disable about:debugging in InstallAddons Policy https://reviewboard.mozilla.org/r/233760/#review239404 Awesome! Thanks! I'll land this now
Attachment #8965022 -
Flags: review?(felipc) → review+
Pushed by felipc@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/26c8dafa2070 Disable about:debugging in InstallAddons Policy. r=felipe
Updated•6 years ago
|
Summary: Policy: Disable about:debugging → Policy: Block about:debugging when InstallAddons -> Default=false is in use
Comment 7•6 years ago
|
||
[Tracking Requested - why for this release]: Enterprise Policies
tracking-firefox60:
--- → ?
Comment 8•6 years ago
|
||
Comment on attachment 8965022 [details] Bug 1443242 - Disable about:debugging in InstallAddons Policy Approval Request Comment [Feature/Bug causing the regression]: Follow-up to bug 1429131 [User impact if declined]: Extensions can be side-loaded through about:debugging, even though the block installs policy is in use [Is this code covered by automated tests?]: no [Has the fix been verified in Nightly?]: not yet [Needs manual test from QE? If yes, steps to reproduce]: qa will verify it [List of other uplifts needed for the feature/fix]: bug 1429131 [Is the change risky?]: no [Why is the change risky/not risky?]: uses the same system to block about: pages as other policies [String changes made/needed]: none
Attachment #8965022 -
Flags: approval-mozilla-beta?
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/26c8dafa2070
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Updated•6 years ago
|
Comment 10•6 years ago
|
||
Comment on attachment 8965022 [details] Bug 1443242 - Disable about:debugging in InstallAddons Policy enterprise policy, approved for 60.0b11
Attachment #8965022 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 11•6 years ago
|
||
uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/d59384968f0615359d9f64401e73b78baeba0dd2
You need to log in
before you can comment on or make changes to this bug.
Description
•