Closed Bug 1507291 Opened 6 years ago Closed 6 years ago

Remove the concept of machine_only policies (they don't work like we thought)

Categories

(Firefox :: Enterprise Policies, enhancement, P1)

enhancement

Tracking

()

VERIFIED FIXED
Firefox 65
Tracking Status
firefox64 --- verified
firefox65 --- verified

People

(Reporter: mkaply, Assigned: mkaply)

Details

Attachments

(1 file)

When we came up with machine_only policies, we thought we were solving a problem where applications without admin privileges could write to the HKEY_CURRENT_USER part of registry.

While this is generally true, it is NOT true about HKEY_CURRENT_USER\Software\Policies. It is only writable by administrators.

So our machine_only doesn't add any additional protection.

See discussion here:

https://github.com/mozilla/policy-templates/issues/286#issuecomment-436886413

(And I have verified this)
Priority: -- → P1
Pushed by mozilla@kaply.com:
https://hg.mozilla.org/integration/autoland/rev/49bac5821786
Remove concept of machine_only policies. r=Felipe,flod
^^ 
Backed out for Linting failure on WindowsGPOParser.jsm
I wonder why phabricator didn't catch the linting error.
Flags: needinfo?(mozilla)
Pushed by mozilla@kaply.com:
https://hg.mozilla.org/integration/autoland/rev/cec3c30f287b
Remove concept of machine_only policies. r=Felipe,flod
https://hg.mozilla.org/mozilla-central/rev/cec3c30f287b
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
Comment on attachment 9025170 [details]
Bug 1507291 - Remove concept of machine_only policies.

[Beta/Release Uplift Approval Request]

Feature/Bug causing the regression: None

User impact if declined: Can't set certain policies

Is this code covered by automated tests?: No

Has the fix been verified in Nightly?: No

Needs manual test from QE?: No

If yes, steps to reproduce: 

List of other uplifts needed: None

Risk to taking this patch: Low

Why is the change risky/not risky? (and alternatives if risky): This is just removing a concept that come to find out isn't needed.
Would be nice to get it done as quick as possible so as not to force people to use machine policy unnecessarily.

String changes made/needed:
Attachment #9025170 - Flags: approval-mozilla-beta?
Can you attach a patch for uplift that doesn't touch the ftl files?
Flags: needinfo?(mozilla)
Comment on attachment 9025170 [details]
Bug 1507291 - Remove concept of machine_only policies.

[Triage Comment]
Per IRC discussion with Julien, taking it for 64.0b11 with FTL changes removed from the uplift.
Flags: needinfo?(mozilla)
Attachment #9025170 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: qe-verify+
As per comment 8 and further discussion with Mike, this bug does not need any further investigation and any special verification from QA.
Based on that I'm closing this ticket as verified fixed.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: