Open Bug 2068701 Opened 2 days ago Updated 17 hours ago

Disable Chat behind enterprise policy

Categories

(Enterprise Products :: Thunderbird, task, P2)

Tracking

(Not tracked)

ASSIGNED
157 Branch

People

(Reporter: tobyp, Assigned: jcharlton)

References

(Blocks 2 open bugs)

Details

(Keywords: checkin-needed-tb)

User Story

As an enterprise administrator, I want to prevent users from using Thunderbird Chat so that enterprise communication features can be managed centrally and consistently across enterprise installations.

Acceptance Criteria
- A new enterprise policy, DisableChat, exists.
- When the policy is enabled, mail.chat.enabled is set to false.
- mail.chat.enabled is locked while the policy is active so that users cannot re-enable Chat.
- Existing Chat functionality that is already controlled by mail.chat.enabled remains disabled.
- Chat-related UI that is already conditional on mail.chat.enabled remains hidden.
- Chat-related startup/initialisation does not activate Chat when the policy is enabled.
- Chat presence and other Chat-related functionality are disabled when the policy is enabled.
- A review of all current mail.chat.enabled consumers is completed to determine whether any relevant Chat functionality or UI does not already respect the preference.
- Any missing consumers are updated to honour mail.chat.enabled where appropriate.
- Users cannot change the Chat setting through the Settings UI while the policy is active.
- When the policy is not configured, Thunderbird's existing default behaviour (mail.chat.enabled = true) is unchanged.
- Policy tests cover enabled, disabled, and default behaviour.
- Browser tests cover the affected Chat UI.
- Tests verify that the underlying Chat functionality is disabled, not merely that individual UI controls are hidden.
- Manual testing is completed for the affected Chat flows.
- Lint and relevant test suites pass.
- Documentation is updated in Thunderbird's enterprise preferences documentation, including the enterprise preferences page and the relevant policy documentation.
- The new policy is added in the required alphabetical order in both the policies implementation and policy JSON/schema files.

Attachments

(1 file)

Add an enterprise policy named DisableChat that disables Thunderbird's Chat functionality.

Thunderbird already has the mail.chat.enabled preference, which is used throughout the application to control Chat-related functionality and UI. The implementation should therefore make use of this existing preference where possible rather than introducing a parallel enterprise-specific mechanism.

When DisableChat is enabled, the policy should set mail.chat.enabled to false and prevent users from changing it.

The existing preference handling should then provide as much of the required behaviour as possible, including disabling Chat functionality and hiding Chat-related UI.

If additional Chat entry points are found that do not respect mail.chat.enabled, they should be updated to do so rather than introducing separate enterprise-only checks where practical.

Priority: -- → P2
Assignee: nobody → jcharlton
Status: NEW → ASSIGNED
Target Milestone: --- → 157 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: