Closed gpordeus closed 7 hours ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 4.18%. Comparing base (
cb48202
) to head (726ba87
). Report is 37 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@blueorangutan ui
@DaanHoogland a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.
UI build: :heavy_check_mark: Live QA URL: https://qa.cloudstack.cloud/simulator/pr/9265 (QA-JID-383)
@gpordeus two concerns
Hi, @DaanHoogland , thanks for checking this out.
somehow offerings are not found.
The offerings not found is a regression that happened on 4.19 (version of QA environment), where calling listDiskOfferings
with domainid and account name short circuits in searching for domain-only disk offerings. This was fixed (I believe on #8321, so it will probably be fine on 4.19.1) and the offerings show up on the form when using 4.20, which is the target.
is this meant for (domain) admins or for every user?
Just admins, it uses the same verification as #8919.
Description
This PR allows selecting a target account (or project) during volume creation through the UI, using #8919's
OwnershipSelection
.Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Screenshots (if appropriate):
How Has This Been Tested?
Environment with one domain (
dom
), besidesroot
, and a domain admin and an user accounts in bothroot
anddom
, as well as the Root Admin. Every account created one project each.Table lists all options shown in UI, when logged as each of the accounts: (User accounts did not show the selection fields Owner type, Domain and Account/Project. Neither did any of the projects.)
admin
)- ROOT/dom
- dom-adm, dom-usr
- dom-adm-proj, dom-usr-proj
dadm
)- ROOT/dom
- dom-adm, dom-usr
- *
usr
)dom-adm
)dom-usr
)Testing this, I found a bug on listProjects. A domain admin can't list a subdomain's projects, with
isrecursive
or not.I'm still working on the best way to go about it and will open a PR to fix it, but it's not ready yet.