Skip to content

server: optimize account creation by pre-loading the role permissions#11137

Closed
weizhouapache wants to merge 4 commits into
apache:4.20from
weizhouapache:4.20-create-account-optimization
Closed

server: optimize account creation by pre-loading the role permissions#11137
weizhouapache wants to merge 4 commits into
apache:4.20from
weizhouapache:4.20-create-account-optimization

Update server/src/main/java/com/cloud/user/AccountManagerImpl.java

37fe152
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 5, 2026 in 0s

16.25% (+0.09%) compared to 1a251c8

View this Pull Request on Codecov

16.25% (+0.09%) compared to 1a251c8

Details

Codecov Report

❌ Patch coverage is 6.45161% with 29 lines in your changes missing coverage. Please review.
✅ Project coverage is 16.25%. Comparing base (1a251c8) to head (37fe152).
⚠️ Report is 332 commits behind head on 4.20.

Files with missing lines Patch % Lines
...c/main/java/com/cloud/user/AccountManagerImpl.java 0.00% 16 Missing ⚠️
...oudstack/acl/DynamicRoleBasedAPIAccessChecker.java 15.38% 11 Missing ⚠️
...ain/java/org/apache/cloudstack/acl/APIChecker.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               4.20   #11137      +/-   ##
============================================
+ Coverage     16.15%   16.25%   +0.09%     
- Complexity    13276    13425     +149     
============================================
  Files          5657     5663       +6     
  Lines        497969   500212    +2243     
  Branches      60389    60744     +355     
============================================
+ Hits          80463    81311     +848     
- Misses       408542   409816    +1274     
- Partials       8964     9085     +121     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.