feat(apple): config to hide resource list (#10824)

Adds a configuration variable `hideResourceList` accessible by
provisioning profile only to hide or show the Resource list. This is
helpful when end-users need not be concerned with the resources
available to their account.

Also updates the associated ProfileManifests, docs, and a little bit of
housekeeping around `configuration`, making it public for direct access.

<img width="292" height="228" alt="Screenshot 2025-11-09 at 9 12 47 PM"
src="https://github.com/user-attachments/assets/a4ce5586-bf92-4ebc-bc0d-51215e1efd61"
/>


Related: https://github.com/ProfileManifests/ProfileManifests/pull/839
Fixes: #10808

---------

Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Jamil
2025-11-10 09:55:27 -10:00
committed by GitHub
parent 5ae2707719
commit bd2abbaae3
9 changed files with 141 additions and 89 deletions

View File

@@ -58,6 +58,10 @@
<true/>
<!-- Whether to show or hide the admin portal link in the main menu. -->
<key>hideResourceList</key>
<true/>
<!-- Whether to show or hide the resource list in the main menu. -->
<key>logFilter</key>
<string>info</string>

View File

@@ -175,6 +175,16 @@ A profile can consist of payloads with different version numbers. For example, c
<key>pfm_type</key>
<string>boolean</string>
</dict>
<dict>
<key>pfm_description</key>
<string>Hide the Resource List in the Firezone menu in the macOS menu bar. If unset, defaults to false.</string>
<key>pfm_name</key>
<string>hideResourceList</string>
<key>pfm_title</key>
<string>Hide resource list</string>
<key>pfm_type</key>
<string>boolean</string>
</dict>
<dict>
<key>pfm_description</key>
<string>Try to connect to Firezone using the saved token and configuration when the client application starts. If the authentication token is expired, the client will start in a disconnected state. Setting this field will override the user's setting. If unset, defaults to false.</string>

View File

@@ -80,6 +80,7 @@ managed configuration available and to which platforms they apply.
| `disableUpdateCheck` | `Boolean` | `false` | Whether to disable the periodic update checker. The update checker is enabled by default for standalone macOS Clients. | macOS, iOS, Android | 1.5.0 |
| `checkForUpdates` | `Boolean` | `false` | Enable or disable the periodic update checker. The update checker is enabled by default for Windows Clients. | Windows | 1.5.0 |
| `hideAdminPortalMenuItem` | `Boolean` | `false` | Whether to show or hide the admin portal link in the main menu. | macOS, Windows | 1.5.0 |
| `hideResourceList` | `Boolean` | `false` | Whether to show or hide the resource list in the main menu. | macOS, iOS | 1.5.10 |
| `supportURL` | `String` | `https://www.firezone.dev/support` | The destination URL used for the support link in the main menu. | macOS, iOS, Windows | 1.5.0 |
### Applying managed configuration

View File

@@ -32,6 +32,10 @@ export default function Apple() {
Fixes an issue where the order of upstream / system DNS resolvers was
not respected.
</ChangeItem>
<ChangeItem pull="10824">
Adds support for <code>hideResourceList</code> managed configuration
key to hide the Resource List in the macOS and iOS apps.
</ChangeItem>
</Unreleased>
<Entry version="1.5.9" date={new Date("2025-10-20")}>
<ChangeItem pull="10603">