René's URL Explorer Experiment


Title: server: optimize account creation by pre-loading the role permissions by weizhouapache · Pull Request #11137 · apache/cloudstack · GitHub

Open Graph Title: server: optimize account creation by pre-loading the role permissions by weizhouapache · Pull Request #11137 · apache/cloudstack

X Title: server: optimize account creation by pre-loading the role permissions by weizhouapache · Pull Request #11137 · apache/cloudstack

Description: Description This PR optimizes the process of #5879 prior to this PR 2025-07-03 13:14:34,940 DEBUG [c.c.a.ApiServlet] (qtp1390913202-23:[ctx-8349b2ec]) (logid:9c370102) ===START=== 10.0.112.203 -- GET accounttype=0&email=test@test.com&firstname=Test&lastname=User&username=test-TestInternalLb-ZS4QJR&command=createAccount&response=json&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&signature=kOcCU/cXP5NU8GEb6i0L/ifXfu0= 2025-07-03 13:14:41,506 DEBUG [c.c.a.ApiServlet] (qtp1390913202-23:[ctx-8349b2ec, ctx-0b145e08, ctx-bf249291]) (logid:9c370102) ===END=== 10.0.112.203 -- GET accounttype=0&email=test@test.com&firstname=Test&lastname=User&username=test-TestInternalLb-ZS4QJR&command=createAccount&response=json&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&signature=kOcCU/cXP5NU8GEb6i0L/ifXfu0= with this PR, it is reduced to less than 1 second 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) 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 Minor Bug Severity BLOCKER Critical Major Minor Trivial Screenshots (if appropriate): How Has This Been Tested? How did you try to break this feature and the system with this change?

Open Graph Description: Description This PR optimizes the process of #5879 prior to this PR 2025-07-03 13:14:34,940 DEBUG [c.c.a.ApiServlet] (qtp1390913202-23:[ctx-8349b2ec]) (logid:9c370102) ===START=== 10.0.112.203 -- ...

X Description: Description This PR optimizes the process of #5879 prior to this PR 2025-07-03 13:14:34,940 DEBUG [c.c.a.ApiServlet] (qtp1390913202-23:[ctx-8349b2ec]) (logid:9c370102) ===START=== 10.0.112.203 -- ...

Opengraph URL: https://github.com/apache/cloudstack/pull/11137

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:beb487a8-b3c7-6906-0304-5bc17d141ff9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE9F8:31AB9E:8AB32:BCD60:6A4D2965
html-safe-nonce32b43689b3c3b61eb096d8773f6508b1e0bfa06e230fd53777591faddfdf1a44
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUY4OjMxQUI5RTo4QUIzMjpCQ0Q2MDo2QTREMjk2NSIsInZpc2l0b3JfaWQiOiI3NDk2NjY5MTE5NzY2MTQ1MzgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac55bdefb5f2cfc62e90495c84aea65a0105913a25f8c6230aaef13dd1a13ffab0
hovercard-subject-tagpull_request:2638615354
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/apache/cloudstack/pull/11137/files
twitter:imagehttps://avatars.githubusercontent.com/u/57355700?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/57355700?s=400&v=4
og:image:altDescription This PR optimizes the process of #5879 prior to this PR 2025-07-03 13:14:34,940 DEBUG [c.c.a.ApiServlet] (qtp1390913202-23:[ctx-8349b2ec]) (logid:9c370102) ===START=== 10.0.112.203 -- ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/apache/cloudstack git https://github.com/apache/cloudstack.git
octolytics-dimension-user_id47359
octolytics-dimension-user_loginapache
octolytics-dimension-repository_id9759448
octolytics-dimension-repository_nwoapache/cloudstack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id9759448
octolytics-dimension-repository_network_root_nwoapache/cloudstack
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release93f17a978ee60bc4668e1d7b90e6bd2d622261fd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/apache/cloudstack/pull/11137/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fpull%2F11137%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fpull%2F11137%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=apache%2Fcloudstack
Reloadhttps://github.com/apache/cloudstack/pull/11137/files
Reloadhttps://github.com/apache/cloudstack/pull/11137/files
Reloadhttps://github.com/apache/cloudstack/pull/11137/files
Please reload this pagehttps://github.com/apache/cloudstack/pull/11137/files
apache https://github.com/apache
cloudstackhttps://github.com/apache/cloudstack
Notifications https://github.com/login?return_to=%2Fapache%2Fcloudstack
Fork 1.3k https://github.com/login?return_to=%2Fapache%2Fcloudstack
Star 3k https://github.com/login?return_to=%2Fapache%2Fcloudstack
Code https://github.com/apache/cloudstack
Issues 535 https://github.com/apache/cloudstack/issues
Pull requests 265 https://github.com/apache/cloudstack/pulls
Discussions https://github.com/apache/cloudstack/discussions
Actions https://github.com/apache/cloudstack/actions
Projects https://github.com/apache/cloudstack/projects
Wiki https://github.com/apache/cloudstack/wiki
Security and quality 0 https://github.com/apache/cloudstack/security
Insights https://github.com/apache/cloudstack/pulse
Code https://github.com/apache/cloudstack
Issues https://github.com/apache/cloudstack/issues
Pull requests https://github.com/apache/cloudstack/pulls
Discussions https://github.com/apache/cloudstack/discussions
Actions https://github.com/apache/cloudstack/actions
Projects https://github.com/apache/cloudstack/projects
Wiki https://github.com/apache/cloudstack/wiki
Security and quality https://github.com/apache/cloudstack/security
Insights https://github.com/apache/cloudstack/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fapache%2Fcloudstack%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fapache%2Fcloudstack%2Fissues%2Fnew%2Fchoose
weizhouapachehttps://github.com/weizhouapache
apache:4.20https://github.com/apache/cloudstack/tree/4.20
weizhouapache:4.20-create-account-optimizationhttps://github.com/weizhouapache/cloudstack/tree/4.20-create-account-optimization
Conversation 31 https://github.com/apache/cloudstack/pull/11137
Commits 4 https://github.com/apache/cloudstack/pull/11137/commits
Checks 26 https://github.com/apache/cloudstack/pull/11137/checks
Files changed https://github.com/apache/cloudstack/pull/11137/files
Please reload this pagehttps://github.com/apache/cloudstack/pull/11137/files
server: optimize account creation by pre-loading the role permissions https://github.com/apache/cloudstack/pull/11137/files#top
Show all changes 4 commits https://github.com/apache/cloudstack/pull/11137/files
e5848ac server: optimize account creation by pre-loading the role permissions weizhouapache Jul 4, 2025 https://github.com/apache/cloudstack/pull/11137/commits/e5848acdd073492cfcc4b74e2d9bf081791218df
fc10728 APIChecker: add default implementation for methods weizhouapache Aug 18, 2025 https://github.com/apache/cloudstack/pull/11137/commits/fc10728f10f3bb06e3f412eaf60e9379e6ff892e
d395684 Update server/src/main/java/com/cloud/user/AccountManagerImpl.java weizhouapache Feb 20, 2026 https://github.com/apache/cloudstack/pull/11137/commits/d395684448c95f5e5b3d5f60f74b922d50753299
37fe152 Update server/src/main/java/com/cloud/user/AccountManagerImpl.java weizhouapache Feb 20, 2026 https://github.com/apache/cloudstack/pull/11137/commits/37fe152c5b8340b8359832e0ae0fe716c1ea388a
Clear filters https://github.com/apache/cloudstack/pull/11137/files
Please reload this pagehttps://github.com/apache/cloudstack/pull/11137/files
Please reload this pagehttps://github.com/apache/cloudstack/pull/11137/files
APIChecker.java https://github.com/apache/cloudstack/pull/11137/files#diff-145e8e7d1310c5b00c5fd352119b0e84f2fa87a6d1aa01715cf2576500a45b85
DynamicRoleBasedAPIAccessChecker.java https://github.com/apache/cloudstack/pull/11137/files#diff-fda34b2efe234e7e6ef3017e734c3d4095eb528a1ffdab0f21f3aa745c77d3aa
AccountManagerImpl.java https://github.com/apache/cloudstack/pull/11137/files#diff-fdd46eb6e71ed13aa5bc82ca928751e334a0e743c1142a0201a7cba7986882ff
api/src/main/java/org/apache/cloudstack/acl/APIChecker.javahttps://github.com/apache/cloudstack/pull/11137/files#diff-145e8e7d1310c5b00c5fd352119b0e84f2fa87a6d1aa01715cf2576500a45b85
View file https://github.com/weizhouapache/cloudstack/blob/37fe152c5b8340b8359832e0ae0fe716c1ea388a/api/src/main/java/org/apache/cloudstack/acl/APIChecker.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/apache/cloudstack/pull/11137/{{ revealButtonHref }}
https://github.com/apache/cloudstack/pull/11137/files#diff-145e8e7d1310c5b00c5fd352119b0e84f2fa87a6d1aa01715cf2576500a45b85
https://github.com/apache/cloudstack/pull/11137/files#diff-145e8e7d1310c5b00c5fd352119b0e84f2fa87a6d1aa01715cf2576500a45b85
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Apr 7, 2026https://github.com/apache/cloudstack/pull/11137/files#r3043288099
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apache/cloudstack/pull/11137/files
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Apr 7, 2026https://github.com/apache/cloudstack/pull/11137/files#r3043288136
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apache/cloudstack/pull/11137/files
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
...-role-based/src/main/java/org/apache/cloudstack/acl/DynamicRoleBasedAPIAccessChecker.javahttps://github.com/apache/cloudstack/pull/11137/files#diff-fda34b2efe234e7e6ef3017e734c3d4095eb528a1ffdab0f21f3aa745c77d3aa
View file https://github.com/weizhouapache/cloudstack/blob/37fe152c5b8340b8359832e0ae0fe716c1ea388a/plugins/acl/dynamic-role-based/src/main/java/org/apache/cloudstack/acl/DynamicRoleBasedAPIAccessChecker.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/apache/cloudstack/pull/11137/{{ revealButtonHref }}
https://github.com/apache/cloudstack/pull/11137/files#diff-fda34b2efe234e7e6ef3017e734c3d4095eb528a1ffdab0f21f3aa745c77d3aa
https://github.com/apache/cloudstack/pull/11137/files#diff-fda34b2efe234e7e6ef3017e734c3d4095eb528a1ffdab0f21f3aa745c77d3aa
https://github.com/apache/cloudstack/pull/11137/files#diff-fda34b2efe234e7e6ef3017e734c3d4095eb528a1ffdab0f21f3aa745c77d3aa
https://github.com/apache/cloudstack/pull/11137/files#diff-fda34b2efe234e7e6ef3017e734c3d4095eb528a1ffdab0f21f3aa745c77d3aa
https://github.com/apache/cloudstack/pull/11137/files#diff-fda34b2efe234e7e6ef3017e734c3d4095eb528a1ffdab0f21f3aa745c77d3aa
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Apr 7, 2026https://github.com/apache/cloudstack/pull/11137/files#r3043288156
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apache/cloudstack/pull/11137/files
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
https://github.com/apache/cloudstack/pull/11137/files#diff-fda34b2efe234e7e6ef3017e734c3d4095eb528a1ffdab0f21f3aa745c77d3aa
server/src/main/java/com/cloud/user/AccountManagerImpl.javahttps://github.com/apache/cloudstack/pull/11137/files#diff-fdd46eb6e71ed13aa5bc82ca928751e334a0e743c1142a0201a7cba7986882ff
View file https://github.com/weizhouapache/cloudstack/blob/37fe152c5b8340b8359832e0ae0fe716c1ea388a/server/src/main/java/com/cloud/user/AccountManagerImpl.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/apache/cloudstack/pull/11137/{{ revealButtonHref }}
https://github.com/apache/cloudstack/pull/11137/files#diff-fdd46eb6e71ed13aa5bc82ca928751e334a0e743c1142a0201a7cba7986882ff
https://github.com/apache/cloudstack/pull/11137/files#diff-fdd46eb6e71ed13aa5bc82ca928751e334a0e743c1142a0201a7cba7986882ff
https://github.com/apache/cloudstack/pull/11137/files#diff-fdd46eb6e71ed13aa5bc82ca928751e334a0e743c1142a0201a7cba7986882ff
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Apr 7, 2026https://github.com/apache/cloudstack/pull/11137/files#r3043288170
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apache/cloudstack/pull/11137/files
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
https://github.com/apache/cloudstack/pull/11137/files#diff-fdd46eb6e71ed13aa5bc82ca928751e334a0e743c1142a0201a7cba7986882ff
Please reload this pagehttps://github.com/apache/cloudstack/pull/11137/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.