Closed Bug 1655857 Opened 4 years ago Closed 4 years ago

Provide a way for policies to cleanup when removed

Categories

(Firefox :: Enterprise Policies, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: mkaply, Assigned: mkaply)

References

Details

Attachments

(1 file)

In prepping for the new bookmarks policy, we need a way to cleanup policies at startup if they are turned off or removed.

So if policy adds bookmarks, and then is removed completely, we should remove the bookmarks associated with policy.

Tricky part is we need to do this even if the policy engine isn't started on the next startup.

My thought process is a preference "browser.policies.applied" that gets set when policies are set and then on startup, we check that before starting policies and allow cleanup.

Pushed by mozilla@kaply.com:
https://hg.mozilla.org/integration/autoland/rev/bcd5e61b5f2f
Add ability to cleanup policies. r=emalysz
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
Blocks: 1559181
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: