Describe the bug
"My Virtual Desktop" view incorrectly shows all Virtual Desktops whose "owner" field contains the user's username. For example, user min can view all of user Clusteradmin's Virtual Desktops, regardless of permissions.
Steps to reproduce
Steps to reproduce the behavior:
- Create a new virtual desktop using the
Clusteradmin account.
- Create a new user named
min.
- Login as
min and navigate to the "My Virtual Desktop" view.
- Incorrectly see the
Clusteradmin account's virtual desktop in the "My Virtual Desktop" view.
Expected behavior
User min should not be able to view Clusteradmin private virtual desktops
Actual behavior
Any user with a username (such as min, cluster or even a) that is contained within Clusteradmin can view Clusteradmin's virtual desktops
Screenshots/Video
Clusteradmin user's "My Virtual Desktop" view correctly shows the Virtual Desktop launched by the Clusteradmin user:
min user's "My Virtual Desktop" view incorrectly shows the Virtual Desktop deployed by the Clusteradmin user
Environment (please complete the following information):
- RES Version: 2025.06.01
- Software Stack AMI ID: Any
- Software Stack OS: Any
Additional context
I have created a pull request that resolves this issue: #113
Describe the bug
"My Virtual Desktop" view incorrectly shows all Virtual Desktops whose "owner" field contains the user's username. For example, user
mincan view all of userClusteradmin's Virtual Desktops, regardless of permissions.Steps to reproduce
Steps to reproduce the behavior:
Clusteradminaccount.min.minand navigate to the "My Virtual Desktop" view.Clusteradminaccount's virtual desktop in the "My Virtual Desktop" view.Expected behavior
User
minshould not be able to viewClusteradminprivate virtual desktopsActual behavior
Any user with a username (such as
min,clusteror evena) that is contained withinClusteradmincan viewClusteradmin's virtual desktopsScreenshots/Video
Clusteradminuser's "My Virtual Desktop" view correctly shows the Virtual Desktop launched by theClusteradminuser:minuser's "My Virtual Desktop" view incorrectly shows the Virtual Desktop deployed by theClusteradminuserEnvironment (please complete the following information):
Additional context
I have created a pull request that resolves this issue: #113