-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ownership selection in VPC tiers and VPC public IPs #9692
base: main
Are you sure you want to change the base?
Ownership selection in VPC tiers and VPC public IPs #9692
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9692 +/- ##
============================================
+ Coverage 15.57% 16.16% +0.58%
- Complexity 12052 13282 +1230
============================================
Files 5505 5666 +161
Lines 482738 498141 +15403
Branches 58961 60286 +1325
============================================
+ Hits 75203 80527 +5324
- Misses 399226 408601 +9375
- Partials 8309 9013 +704
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@blueorangutan package |
@sureshanaparti a [SL] 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]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11164 |
api/src/main/java/org/apache/cloudstack/api/response/IPAddressResponse.java
Outdated
Show resolved
Hide resolved
api/src/main/java/org/apache/cloudstack/api/response/NetworkResponse.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Fabricio Duarte <[email protected]>
Description
This PR adds the "ownership selection" UI fields to VPC tiers and VPC public IPs.
The "vpcAccess" response attribute was added so the UI can know if the caller has access to the VPC without needing to make a whole new request. This is needed to avoid 404 links (since router.resolve is assembled through API permissions) and so the UI can present the correct public IPs to their possible network tiers (e.g. if the User has tiers of two different VPCs, they can't use one's public IP in the other).
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
New tier possible owners' listing
Tier listing
User accessing their tier of the Admin's VPC
Possible owners for new IP
How Has This Been Tested?
Environment with domains Root (with accounts Root Admin and User), Root/1 (with a Domain Admin), Root/A (with a Domain Admin) and Root/A/B (with a Domain Admin and a User). There is a Project in each domain, owned by the respective admins.
How did you try to break this feature and the system with this change?