Skip to content

Commit c5840c6

Browse files
committed
Feature: System wide policy
1 parent 3100ee9 commit c5840c6

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

Website/docs/changelog/next-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Release date: **xx.xx.2025**
4545

4646
- New language Ukrainian (`uk-UA`) has been added. Thanks to [@vadickkt](https://github.com/vadickkt) [#3240](https://github.com/BornToBeRoot/NETworkManager/pull/3240)
4747
- Migrated all dialogs to child windows for improved usability and accessibility. [#3271](https://github.com/BornToBeRoot/NETworkManager/pull/3271)
48-
- System-wide policies can now be configured via a `config.json` file in the application directory to control settings for all users. Currently supports controlling the "Check for updates at startup" setting. This is useful for enterprise deployments where administrators need centralized control over update behavior. See [System-Wide Policies](../system-wide-policies.md) documentation for more information. [#TODO_PR_NUMBER](https://github.com/BornToBeRoot/NETworkManager/pull/TODO_PR_NUMBER)
48+
- System-wide policies can now be configured via a `config.json` file in the application directory to control settings for all users. Currently supports controlling the "Check for updates at startup" setting. This is useful for enterprise deployments where administrators need centralized control over update behavior. See [System-Wide Policies](../system-wide-policies.md) documentation for more information. [#3313](https://github.com/BornToBeRoot/NETworkManager/pull/3313)
4949

5050
**DNS Lookup**
5151

53.5 KB
Loading

Website/docs/system-wide-policies.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@ The `config.json` file uses a simple JSON structure to define policy values. An
4040
}
4141
```
4242

43+
Property names generally follow the pattern `Section_SettingName` (see each setting's documentation). Ensure values use the correct JSON type (boolean, string, number, etc.).
44+
4345
:::note
4446

45-
- The file must be named exactly `config.json` (case-sensitive)
47+
- The file must be named exactly `config.json`
4648
- The file must contain valid JSON syntax
4749
- Changes to the file require restarting the application to take effect
4850
- If the file doesn't exist or contains invalid JSON, it will be ignored and user settings will apply
@@ -64,15 +66,16 @@ For enterprise deployments:
6466
- For portable installations, place it next to the executable
6567

6668
3. **Deploy methods**:
67-
- Group Policy (copy file to installation directory)
68-
- Configuration management tools (SCCM, Intune, etc.)
69-
- Scripts/Deployment tools (PowerShell, PSAppDeployToolkit, etc.)
69+
- Group Policy — copy the `config.json` file to the installation directory (use Group Policy preferences or a startup script)
70+
- Configuration management tools — SCCM/ConfigMgr, Microsoft Intune, Ansible, etc.
71+
- Scripts and deployment toolkits — PowerShell scripts, PSAppDeployToolkit (recommended for scripted MSI/App deployments)
72+
- Manual deployment — hand-copy for small-scale rollouts
7073

7174
4. **Verification**:
7275
- Launch the application
73-
- Navigate to a setting that is controlled by the policy (e.g., "Check for updates at startup")
74-
- Verify the shield icon and administrator message appear
75-
- Confirm the toggle reflects the policy value and is disabled
76+
- Navigate to Settings > Update (e.g., "Check for updates at startup")
77+
- Verify the shield icon and the administrator message appear and that the control is disabled
78+
- Confirm the displayed value matches the policy
7679

7780
:::warning
7881

0 commit comments

Comments
 (0)