Skip to content

[BUG] "My Virtual Desktop" view shows other users' desktops #116

@emmalion93

Description

@emmalion93

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:

  1. Create a new virtual desktop using the Clusteradmin account.
  2. Create a new user named min.
  3. Login as min and navigate to the "My Virtual Desktop" view.
  4. 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:

Screenshot_2025-07-25_at_10 41 04_AM

min user's "My Virtual Desktop" view incorrectly shows the Virtual Desktop deployed by the Clusteradmin user

Screenshot_2025-07-25_at_10 41 40_AM

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions