Closed Bug 1862066 Opened 11 months ago Closed 7 months ago

Make DLP only be able to be turned on via an Enterprise policy or command-line argument

Categories

(Firefox :: Data Loss Prevention, task)

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: gstoll, Assigned: handyman)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

This is to prevent users from turning it on by accident. Presumably "regular" users will have it turned on via enterprise policy, and developers will use the command-line argument.

We should be able to use something like setAndLockPref() for this like we do in the Enterprise policy. Not sure where a good place to put this in code is, though, as the Enterprise policy code in Policies.sys.mjs seems to only run if the Enterprise policy is set.

Blocks: 1862065

I think the only remaining part is to allow it via enterprise config w/o the command line argument.

Blocks: 1882607

Content analysis should not be turned on without an enterprise policy
requiring it or the -allow-content-analysis command-line argument is passed
(which is intended to be used for development).

Assignee: nobody → davidp99
Status: NEW → ASSIGNED

No changes beyond using correct line endings.

Depends on D203332

Pushed by daparks@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a58cd9e1e2f0 Allow CA enabled when pref is set by enterprise policy or is set alongside command line arg r=gstoll,mkaply,fluent-reviewers,bolsson https://hg.mozilla.org/integration/autoland/rev/c9c51f9d42bf Test that content analysis is only enabled when it should be r=gstoll https://hg.mozilla.org/integration/autoland/rev/545bd85bfbd1 Fix line endings in contentanalysis/moz.build r=gstoll
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
Duplicate of this bug: 1862065
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: