Closed Bug 2072205 Opened 2 months ago Closed 2 days ago

[Console] [Non-live policies] Add indication that the client needs to be restarted when the policy value is changed

Categories

(Enterprise Products :: Console, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 2077185

People

(Reporter: mcurtean, Assigned: andip)

References

Details

Found in
Handlers policy example

Affected versions
commit "61cc1d56f9a44347addf29900a375fdf892e0ec6"
version "422/merge"
source "https://github.com/mozilla/enterprise-console"
build "https://github.com/mozilla/enterprise-console/actions/runs/34554392439"

Preconditions
A Company admin is logged into the Console.
Multiple users (authenticated and unauthenticated) are enrolled and have signed in.
set the Handlers policy at user level.

Steps to reproduce

  1. From the console > Policy management> filter by Handlers and set the policy by selecting Visual> Value at this level> Set a value and apply
    the following:
      "mimeTypes": { "": { "action": "saveToDisk" } },
      "extensions": { "": { "action": "saveToDisk" } }
  1. Save and check that the policy has been applied in the JSON file.
  2. Check about:policies in the client> the policy is not applied due to not being live, the browser needs to be restarted.
  3. Restart the browser, check about:policies and that the policy is displayed concretely.
  4. From the console modify Value at this level> Not set

Expected result
"Not set", this means that we remove the policy in the values sent to Firefox.
Show in the Console that this policy change will need a restart
This should apply to changing "Value at this level" options, but also when set values are modified, for example Block About Config value changing from YES to NO.

Actual result
There is no indication in the console that the policy needs a restart to for it to be updated in the client.

Summary: [Console] [Non=live policies] Add indication that the client needs to be restarted when the policy value is changed → [Console] [Non-live policies] Add indication that the client needs to be restarted when the policy value is changed
Type: defect → enhancement
Blocks: 2040651
No longer blocks: 2040651
See Also: → 2040651

We'll add a moz-badge "restart required" in the "heading-extra" slot of the policy moz-card when the policy is marked as such.

Assignee: nobody → apieper

This issue is also covered by the PR on bug 2077185.

Status: NEW → RESOLVED
Closed: 2 days ago
Duplicate of bug: 2077185
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.