Closed Bug 1793742 Opened 2 years ago Closed 2 years ago

Not able to Lock Credit Card Autofill Preferences

Categories

(Toolkit :: Preferences, defect, P3)

Firefox 102
defect

Tracking

()

VERIFIED FIXED
107 Branch
Tracking Status
firefox-esr102 --- verified
firefox107 --- verified

People

(Reporter: mozilla-bugzilla, Assigned: mkaply)

References

Details

Attachments

(2 files)

Steps to reproduce:

Firefox 102.3.0esr
Original question: https://github.com/mozilla/policy-templates/issues/887#issuecomment-1267120498

Currently we are disabling saving credit card autofill information via GPO (Preferences) but settings are not getting locked ("greyed out") for users.

"extensions.formautofill.creditCards.enabled": { "Value": false, "Status": "locked" },
"extensions.formautofill.creditCards.available": { "Value": false, "Status": "locked" }

Actual results:

Credit Card Autofill is correctly disabled but the setting is not locked, so users are still able to activate this setting by themselves.

Expected results:

Users are not able to change the credit card autofill settings.

The Bugbug bot thinks this bug should belong to the 'Toolkit::Form Autofill' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Form Autofill
Product: Firefox → Toolkit

We noticed, that this also applies to the settings "dom.security_https_only_mode" and "dom.security.https_only_mode_ever_enabled" - could those also be locked? Thank you :-)

Assignee: nobody → mozilla
Severity: -- → S3
Status: UNCONFIRMED → NEW
Component: Form Autofill → Preferences
Ever confirmed: true
Priority: -- → P3

We noticed, that this also applies to the settings "dom.security_https_only_mode" and "dom.security.https_only_mode_ever_enabled" - could those also be locked? Thank you :-)

Can you do me a favor and open a separate bug for that? I should be able to fix that fairly fast too.

Hi Mike, no problem :-) We opened a new bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1793905 - Regards Wolfgang

See Also: → 1793905
Pushed by mozilla@kaply.com:
https://hg.mozilla.org/integration/autoland/rev/c6fb104ec9cb
Disable autofill prefs when locked by policy. r=tgiles,credential-management-reviewers,sgalich
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
Flags: qe-verify+

Verified - Fixed in Beta 107.0b2 and the latest Nightly 108.0a1 (2022-10-20) using Windows 10. Both extensions.formautofill.creditCards.enabled and extensions.formautofill.creditCards.available pref are disabled and locked via policies.json.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Attached file ESR patch

Comment on attachment 9301541 [details]
ESR patch

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: Parity with Firefox 107
  • User impact if declined: Preferences locked via policy aren't disabled in preferences
  • Fix Landed on Version: 107
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Autoamated test, policy only.
Attachment #9301541 - Flags: approval-mozilla-esr102?

Comment on attachment 9301541 [details]
ESR patch

Approved for 102.5esr.

Attachment #9301541 - Flags: approval-mozilla-esr102? → approval-mozilla-esr102+
Flags: qe-verify+
QA Whiteboard: [qa-triaged]

Verified - Fixed in 102.5.0esr (build id: 20221107191025) using Windows 10. extensions.formautofill.creditCards.enabled and extensions.formautofill.creditCards.available prefs are disabled and locked via policies.json.

QA Whiteboard: [qa-triaged]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: