Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSL Integration not disabled in UI via locked profile #7948

Open
mook-as opened this issue Dec 16, 2024 · 0 comments
Open

WSL Integration not disabled in UI via locked profile #7948

mook-as opened this issue Dec 16, 2024 · 0 comments
Labels
area/deployment Deployment profiles area/wsl WSL integration component/ui kind/bug Something isn't working

Comments

@mook-as
Copy link
Contributor

mook-as commented Dec 16, 2024

Actual Behavior

When the locked profile specifies that the WSL integrations should not be changeable, the WSL integrations in the preferences dialog can still be interacted with. Note that actually modifying the preferences are rejected, as expected.

Steps to Reproduce

  1. Quit Rancher Desktop
  2. Lock the WSL integrations:

    [HKEY_CURRENT_USER\SOFTWARE\Policies\Rancher Desktop\locked\WSL\integrations] (no values)

  3. Start Rancher Desktop
  4. Go to the Preferences window → WSL
  5. Attempt to modify a WSL integration

Result

The UI can be interacted with, but the error message indicates that this is denied:
image

Expected Behavior

The UI should be locked, with a little lock symbol next to each distribution with hover tips describing why they cannot be modified.

Additional Information

Part of Qase test case RD-75.

Rancher Desktop Version

1.17.0-hackweek-release-254-g77398647d (1.17.0-RC1)

Rancher Desktop K8s Version

N/A

Which container engine are you using?

moby (docker cli)

What operating system are you using?

Windows

Operating System / Build Version

Windows 11 Pro 23H2 (Build 22631.4602)

What CPU architecture are you using?

x64

Linux only: what package format did you use to install Rancher Desktop?

None

Windows User Only

No response

@mook-as mook-as added kind/bug Something isn't working component/ui area/deployment Deployment profiles area/wsl WSL integration labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/deployment Deployment profiles area/wsl WSL integration component/ui kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant