Closed Bug 2005805 Opened 5 months ago Closed 3 months ago

Ensure enterprise policy and locale/region restrictions are respected for AI Controls settings

Categories

(Firefox :: Settings UI, enhancement, P2)

enhancement

Tracking

()

VERIFIED FIXED
149 Branch
Tracking Status
firefox148 + verified
firefox149 --- verified

People

(Reporter: sopsal, Assigned: mstriemer)

References

(Blocks 1 open bug)

Details

(Whiteboard: [recomp])

Attachments

(2 files)

  • This bug supports the broader effort to centralize Gen AI related user controls in Firefox Settings.
  • It updates the Settings UI to respect enterprise policy by hiding or disabling Gen AI related controls when required.

Tracking for Fx148 as a blocker for Bug 2005605

The bug is marked as tracked for firefox148 (beta). However, the bug still isn't assigned.

:pluk, could you please find an assignee for this tracked bug? If you disagree with the tracking decision, please talk with the release managers.

For more information, please visit BugBot documentation.

Flags: needinfo?(pluk)
Assignee: nobody → mstriemer
Flags: needinfo?(pluk)

Some features are also entirely hidden and not able to be turned on in certain regions or locales. This should be handled here too

AIFeature.isAllowed -> hide setting
AIFeature.isManagedByPolicy -> render as usual (show correct state), but disable

Summary: Ensure enterprise policy is respected for gen ai settings → Ensure enterprise policy and locale/region restrictions are respected for AI Controls settings
Pushed by mstriemer@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/371f212492e1 https://hg.mozilla.org/integration/autoland/rev/18d168662f20 Respect isAllowed and isManagedByPolicy for AI Controls r=tabbrowser-reviewers,ai-frontend-reviewers,hjones,sthompson,txia

Backed out for causing bc failures @ browser_link_preview_aifeature_lifecycle.js

Flags: needinfo?(mstriemer)
Pushed by mstriemer@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/8d8a0f11a3f5 https://hg.mozilla.org/integration/autoland/rev/82d365ffe802 Respect isAllowed and isManagedByPolicy for AI Controls r=tabbrowser-reviewers,ai-frontend-reviewers,hjones,sthompson,txia
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
Attachment #9540984 - Flags: approval-mozilla-beta?
Attachment #9540984 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

This issue is Verified as fixed in our latest Nightly as well as our latest Beta 148.0b9, however there are few inconsistencies with the settings from a few features.

If we use this policies file:
{
"policies": {
"TranslateEnabled": false,
"GenerativeAI": {
"Enabled": false,
"Chatbot": false,
"TabGroups": false,
"LinkPreviews": false,
"Locked": true
}
}
}

The "Use AI to suggest tabs and a name for tab groups" is displayed in about:preferences as disabled. (Bug 2012998)
The Translations settings are completely hidden.
The Link Previews are still enabled except for the Ai part (Key points in link previews) which is also hidden. (Bug 2013001)
The PDF Js Alt Text feature has no policy that could block it.
All these features are indeed blocked by policies except for the Alt Text feature and I will mark this issue as Verified as fixed.

I also tested a few non EN* builds and the Link Previews, PDF Alt Text and Smart Tab groups are hidden from the AI controls page.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-ver-done-c149/b148][uplift]
Flags: needinfo?(mstriemer)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: