UI: Fix user role login due to missing API access on custom hypervisor name - #7939
Conversation
|
@shwstppr yes, in case they don't have access then we set the default name for the Custom hypervisor |
@nvazquez in that case a normal user will always see custom hypervisor as |
|
@shwstppr good idea, let me fix that |
…e of listCapabilities API
|
@blueorangutan package |
|
@nvazquez a [SF] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov Report
@@ Coverage Diff @@
## main #7939 +/- ##
============================================
- Coverage 14.40% 14.40% -0.01%
+ Complexity 10111 10109 -2
============================================
Files 2748 2748
Lines 259390 259391 +1
Branches 40381 40381
============================================
- Hits 37365 37358 -7
- Misses 217190 217202 +12
+ Partials 4835 4831 -4
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6975 |
|
@blueorangutan test |
|
@nvazquez a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-7628)
|
|
@blueorangutan package |
|
@nvazquez a [SF] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6990 |
|
@blueorangutan test |
|
@nvazquez a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-7642)
|
…r name (apache#7939) * UI: Fix user role login due to missing API access on custom hypervisor name * Refactor to include the custom HW display name as part of the response of listCapabilities API * Add since parameter (cherry picked from commit 940733c) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Description
This PR fixes the user role login in the UI on the main branch, bug introduced by the PR: #7692
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?