Skip to content

UI: Fix starting VMs through group action by non-root-admin users#9652

Merged
DaanHoogland merged 1 commit intoapache:4.19from
scclouds:fix-start-vm-through-group-action
Sep 9, 2024
Merged

UI: Fix starting VMs through group action by non-root-admin users#9652
DaanHoogland merged 1 commit intoapache:4.19from
scclouds:fix-start-vm-through-group-action

Conversation

@bernardodemarco
Copy link
Copy Markdown
Member

Description

When non-root-admin users try to start multiple virtual machines, the form does not provide options to cancel or confirm the operation.

This PR fixes this bug.


Fixes #9651

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI
  • test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

Before

image

After

image

How Has This Been Tested?

  • With a non-root-admin user, I selected the option to start multiple virtual machines, and verified that I was able to confirm and cancel the operation.
  • With a root admin user, I selected the option to start multiple virtual machines, and verified that the Consider Last Host field was rendered correctly.

@bernardodemarco
Copy link
Copy Markdown
Member Author

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

@bernardodemarco a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 15.08%. Comparing base (ebaf064) to head (5f4b119).
Report is 2 commits behind head on 4.19.

Additional details and impacted files
@@             Coverage Diff              @@
##               4.19    #9652      +/-   ##
============================================
- Coverage     15.08%   15.08%   -0.01%     
+ Complexity    11192    11189       -3     
============================================
  Files          5406     5406              
  Lines        473183   473186       +3     
  Branches      61397    57683    -3714     
============================================
- Hits          71390    71375      -15     
- Misses       393844   393864      +20     
+ Partials       7949     7947       -2     
Flag Coverage Δ
uitests 4.30% <ø> (-0.01%) ⬇️
unittests 15.80% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@blueorangutan
Copy link
Copy Markdown

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/9652 (QA-JID-441)

Copy link
Copy Markdown
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clgtm

@DaanHoogland DaanHoogland merged commit a93f715 into apache:4.19 Sep 9, 2024
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI: Confirmation button disappeared from starting multiple instance by non-admin user

4 participants