Open bernardodemarco opened 1 week ago
@blueorangutan ui
@bernardodemarco a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 4.30%. Comparing base (
03bdf11
) to head (358e77c
). Report is 7 commits behind head on 4.19.:exclamation: There is a different number of reports uploaded between BASE (03bdf11) and HEAD (358e77c). Click for more details.
HEAD has 1 upload less than BASE
| Flag | BASE (03bdf11) | HEAD (358e77c) | |------|------|------| |unittests|1|0|
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
UI build: :heavy_check_mark: Live QA URL: https://qa.cloudstack.cloud/simulator/pr/9927 (QA-JID-478)
Description
Currently, to add a user or account to a project through UI, a select input field is rendered, displaying the accounts and users that the caller has access to as options. As a result, users with an account of the
User
type are unable to add other accounts or users to a project, since they don't have access to other accounts or users and no options are available to be selected in the input field.This PR modifies the input field to allow users to both select from the available options and manually enter the account name or username they wish to add to the project.
Fixes #9774
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
Adding an account by selecting an option available in the dropdown
Adding a user by entering their username in the input field
How Has This Been Tested?
d1
, a domain admin (d1
) and two normal users (u1-d1
andu2-d1
) belonging to the domain.d1
account.d1
account can select accounts and users of their domain to add them to the project.u1-d1
account to the project as an admin.u1-d1
account, accessed the project and added the useru2-d1
to the project.