mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-20 00:31:17 -08:00
util/syspolicy, docs/windows: add HideWindowedUI system policy (#22447)
This device policy hides entry points to the new windowed UI and uses the legacy tray based menu instead Updates tailscale/corp#50029 Signed-off-by: kari-ts <[email protected]>
This commit is contained in:
1 parent
ed75aa3c1f
commit
c4d689ce42
4 files changed
+24
No files matched your search
@@ -219,6 +219,16 @@ If you enable this policy setting, you can specify which categories of network d
|
||||
If you disable or do not configure this policy setting, all devices will be displayed.
|
||||
|
||||
Hiding a device from the UI does not remove it from the tailnet or block network connectivity.]]></string>
|
||||
<string id="HideWindowedUI">Hide the windowed user interface</string>
|
||||
<string id="HideWindowedUI_Help"><![CDATA[This policy controls whether the client's windowed interface is available during its rollout.
|
||||
|
||||
If you enable this policy, Tailscale uses the legacy tray-based interface instead of the windowed UI. This removes the "Open Tailscale" menu item and device navigation actions, and restores the legacy Preferences submenu is used instead of opening the windowed Settings page.
|
||||
|
||||
If you disable or do not configure this policy, the windowed user interface is available on supported devices.
|
||||
|
||||
Changes to this policy require restarting the Tailscale GUI application to take effect.
|
||||
|
||||
This policy is intended as a temporary option during the transition to the windowed user interface and may be deprecated or removed in a future release.]]></string>
|
||||
<string id="TestMenu">Show the "Debug" submenu</string>
|
||||
<string id="TestMenu_Help"><![CDATA[This policy can be used to show or hide the Debug submenu of the Tailscale menu.
|
||||
|
||||
|
||||
@@ -351,6 +351,16 @@
|
||||
</boolean>
|
||||
</elements>
|
||||
</policy>
|
||||
<policy name="HideWindowedUI" class="Both" displayName="$(string.HideWindowedUI)" explainText="$(string.HideWindowedUI_Help)" key="Software\Policies\Tailscale" valueName="HideWindowedUI">
|
||||
<parentCategory ref="UI_Category" />
|
||||
<supportedOn ref="SINCE_V1_106" />
|
||||
<enabledValue>
|
||||
<decimal value="1" />
|
||||
</enabledValue>
|
||||
<disabledValue>
|
||||
<decimal value="0" />
|
||||
</disabledValue>
|
||||
</policy>
|
||||
<policy name="TestMenu" class="Both" displayName="$(string.TestMenu)" explainText="$(string.TestMenu_Help)" key="Software\Policies\Tailscale" valueName="TestMenu">
|
||||
<parentCategory ref="UI_Category" />
|
||||
<supportedOn ref="SINCE_V1_22" />
|
||||
|
||||
@@ -135,6 +135,9 @@ const (
|
||||
LogSCMInteractions Key = "LogSCMInteractions"
|
||||
FlushDNSOnSessionUnlock Key = "FlushDNSOnSessionUnlock"
|
||||
|
||||
// HideWindowedUI is a boolean policy that hides the Windows windowed UI.
|
||||
// It does not close an already-open window.
|
||||
HideWindowedUI Key = "HideWindowedUI"
|
||||
// EncryptState is a boolean setting that specifies whether to encrypt the
|
||||
// tailscaled state file.
|
||||
// Windows and Linux use a TPM device, Apple uses the Keychain.
|
||||
|
||||
@@ -62,6 +62,7 @@ var implicitDefinitions = []*setting.Definition{
|
||||
setting.NewDefinition(pkey.TestMenuVisibility, setting.UserSetting, setting.VisibilityValue),
|
||||
setting.NewDefinition(pkey.UpdateMenuVisibility, setting.UserSetting, setting.VisibilityValue),
|
||||
setting.NewDefinition(pkey.OnboardingFlowVisibility, setting.UserSetting, setting.VisibilityValue),
|
||||
setting.NewDefinition(pkey.HideWindowedUI, setting.UserSetting, setting.BooleanValue),
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
||||
Reference in new issue
Block a user