erikbocks opened a new pull request, #12646:
URL: https://github.com/apache/cloudstack/pull/12646

   ### Description
   
   Currently, it is not possible to specify in the GUI which domain that the 
project will be created in, neither the account or the user that will be 
assigned as the project owner, automatically assigning the project to the 
current user. The project creation component was refactored to allow the 
specification of the domain, account or user of the project during the project 
creation.
   
   The current user's account and domain are automatically selected. If the 
current user does not belong to the selected domain, the first account returned 
in the listing is selected.
   
   ### 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)
   - [X] 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
   
   #### Feature/Enhancement Scale
   
   - [ ] Major
   - [X] Minor
   
   ### Screenshots (if appropriate):
   
   <img width="545" height="495" alt="image" 
src="https://github.com/user-attachments/assets/26c88829-d94a-4005-a733-63f6153b5445";
 />
   
   <details><summary>Projects created with the new form</summary>
   
   <img width="1854" height="502" alt="image" 
src="https://github.com/user-attachments/assets/636a4946-3775-42a4-93b6-6e240c3f0e39";
 />
   
   </details>
   
   ### How Has This Been Tested?
   
   First, the `subdomain` domain was created, the `normalroot` account was 
created in the `ROOT` domain, and the `subdomainuser` account was created in 
the `subdomain` domain. The `subDomainAnotherUser` user was also created in the 
`subdomainuser` account. Then, using the new project creation component, I 
created the following projects:
   
   - Project in the `ROOT` domain with the `admin` account as the owner;
   - Project in the `ROOT` domain with the `normalroot` account as the owner;
   - Project in the `subdomain` domain with the `subdomainuser` account as the 
owner;
   - Project in the `subdomain` domain with the `subDomainAnotherUser` user 
from the `subdomainuser` account as the owner.  
   
   Logged in as a normal user, I validated that the ownership selection 
component was not shown, and when the project was created, it was automatically 
assigned to the current account.
   
   I also validated that other features flows that use the `OwnershipSelection` 
component (VM deployment, VM assignment and Guest Network creation) were not 
affected by the changes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to