Skip to content

(2025.12 - 2025.12.01) Non-admin users unable to share VDIs #142

@Mohjeet

Description

@Mohjeet

Bug description

Non-admin users cannot share VDIs due to an empty permission profile dropdown. This occurs due to a API authorization failure, preventing the dropdown from being populated.

Affected versions

2025.12 and 2025.12.01

Mitigation

  1. Download patch_lambda.py and updated function code zip for version 2025.12 and 2025.12.01 by replacing <output-directory> with the directory to download the patch file and patch script in the command below:
    1. The patch file requires AWS CLI v2, Python 3.9.16 or above, and Boto3.
    2. Configure the AWS CLI for the account / region where RES is deployed, and make sure that you have Lambda permissions to update function code.
    3. OUTPUT_DIRECTORY=<output-directory>
       
      mkdir -p ${OUTPUT_DIRECTORY}
      curl https://research-engineering-studio-us-east-1.s3.us-east-1.amazonaws.com/releases/2025.12/patch_scripts/patch_lambda.py --output ${OUTPUT_DIRECTORY}/patch_lambda.py
      curl https://research-engineering-studio-us-east-1.s3.us-east-1.amazonaws.com/releases/2025.12/patch_scripts/patches/virtual_desktop_utils_controller-17000e96.zip --output ${OUTPUT_DIRECTORY}/virtual_desktop_utils_controller-17000e96.zip
      
  2. Update the lambda function code by running the following patch command by replacing <environment-name> with the RES environment name:
    1. ENVIRONMENT_NAME=<environment-name>
      
      python3 ${OUTPUT_DIRECTORY}/patch_lambda.py --zip-file ${OUTPUT_DIRECTORY}/virtual_desktop_utils_controller-17000e96.zip --lambda-name ${ENVIRONMENT_NAME}-backend-lambda
      

Once the patch has been applied the Last modified attribute of the Lambda function should be recent, and non-admin users will be able to successfully retrieve the list of permission profiles and be able to share VDIs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions