[Console] [Non-live policies] Add indication that the client needs to be restarted when the policy value is changed
Categories
(Enterprise Products :: Console, enhancement)
Tracking
(Not tracked)
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
- From the console > Policy management> filter by Handlers and set the policy by selecting
Visual> Value at this level> Set a valueand apply
the following:
"mimeTypes": { "": { "action": "saveToDisk" } },
"extensions": { "": { "action": "saveToDisk" } }
- Save and check that the policy has been applied in the JSON file.
- Check about:policies in the client> the policy is not applied due to not being live, the browser needs to be restarted.
- Restart the browser, check about:policies and that the policy is displayed concretely.
- 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.
| Reporter | ||
Updated•2 months ago
|
| Reporter | ||
Updated•2 months ago
|
| Reporter | ||
Updated•2 months ago
|
Comment 1•1 month ago
|
||
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 | ||
Comment 2•2 days ago
|
||
This issue is also covered by the PR on bug 2077185.
Description
•