Fix to set a user in the 'Authored by' field in OpenStack launching template in SPA (drupal/cloud_dashboard)

Created on 7 November 2023, about 1 year ago
Updated 8 November 2023, about 1 year ago

Problem/Motivation

  • When you launch an OpenStack Instance using the Launch Template's "Launch" button, if you look at "Authored by" in the details view of the launched instance, you will see the following differences.
    • When starting with Drupal version (Normal version)
      • The Drupal user who clicks the Launch button will be 'Authored by'
    • When starting with SPA version
      • 'Anonymous (not verified)' is included in 'Authored by'
  • This difference can cause problems such as not being recognized as own by permissions such as 'View own OpenStack instance' and not being displayed in the OpenStack Instance list.
  • That is, This commit corrects the issue where instances launched using the SPA version would incorrectly display 'Anonymous (not verified)' in the 'Authored by' field. With this fix, the correct Drupal user who initiates the instance launch will now be properly attributed in the details view, ensuring consistent behavior with the normal Drupal version launch. This resolves the problem of instances not being recognized as owned by the user, particularly affecting permissions like 'View own OpenStack instance' and their visibility in the OpenStack Instance list.
πŸ› Bug report
Status

Fixed

Version

6.0

Component

Code

Created by

πŸ‡―πŸ‡΅Japan hosomitm

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024