Closed Bug 1613722 Opened 6 years ago Closed 6 years ago

SanitizeOnShutdown should allow unset values and unlocked

Categories

(Firefox :: Enterprise Policies, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 75
Tracking Status
firefox-esr68 --- fixed
firefox73 --- wontfix
firefox74 --- fixed
firefox75 --- fixed

People

(Reporter: mkaply, Assigned: mkaply)

Details

Attachments

(1 file, 1 obsolete file)

Currently the SanitizeOnShutdown policy always sets undefined values to false.

It should not. It should ignore unset values.

In addition, it should allow the values to be locked or unlocked.

I remember why I did it this way. Many of the sanitize values default to true. So if you just flip privacy.sanitize.sanitizeOnShutdown, lots of things will get cleared by default.

I think just adding the ability to not lock the prefs is enough (and fix the GPO so you can choose to not define things)

Assignee: nobody → mozilla
Status: NEW → ASSIGNED

This is what I should have done initially. Allow locking and only lock explicit values. And flip the true values to false so that setting sanitizeonshutdown doesn't delete everything when you set one thing.

Attachment #9126829 - Attachment is obsolete: true
Pushed by mozilla@kaply.com: https://hg.mozilla.org/integration/autoland/rev/c320249e8fcb Allow sanitize policy to be unlocked. r=mconley
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 75

Comment on attachment 9126240 [details]
Bug 1613722 - Allow sanitize policy to be unlocked. r?mconley

Beta/Release Uplift Approval Request

  • User impact if declined: SanitizeOnShutdown policy can't be unlocked, a little clunky
  • Is this code covered by automated tests?: Yes
  • 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): Policy only. Automated test, existing behavior unchanged.
  • String changes made/needed:

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: Policy, customer requested feature.
  • User impact if declined: SanitizeOnShutdown policy can't be unlocked, a little clunky
  • Fix Landed on Version: 75
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Policy only. Automated test, existing behavior unchanged.
  • String or UUID changes made by this patch:
Attachment #9126240 - Flags: approval-mozilla-esr68?
Attachment #9126240 - Flags: approval-mozilla-beta?

Comment on attachment 9126240 [details]
Bug 1613722 - Allow sanitize policy to be unlocked. r?mconley

Looks safe for beta, uplift approved for 74.0b6, thanks.

Attachment #9126240 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Comment on attachment 9126240 [details]
Bug 1613722 - Allow sanitize policy to be unlocked. r?mconley

Policy engine update, approved for 68.6esr.

Attachment #9126240 - Flags: approval-mozilla-esr68? → approval-mozilla-esr68+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: