Title: Projects listing breaks after deleting a user added to a project. · Issue #9974 · apache/cloudstack · GitHub
Open Graph Title: Projects listing breaks after deleting a user added to a project. · Issue #9974 · apache/cloudstack
X Title: Projects listing breaks after deleting a user added to a project. · Issue #9974 · apache/cloudstack
Description: ISSUE TYPE Bug Report COMPONENT NAME UI,API CLOUDSTACK VERSION 4.19.1.2 CONFIGURATION Projects SUMMARY Once you deleted a user in 'ROOT admin' role account, the projects can't be listed using UI/API. The deleted user was added to one of ...
Open Graph Description: ISSUE TYPE Bug Report COMPONENT NAME UI,API CLOUDSTACK VERSION 4.19.1.2 CONFIGURATION Projects SUMMARY Once you deleted a user in 'ROOT admin' role account, the projects can't be listed using UI/AP...
X Description: ISSUE TYPE Bug Report COMPONENT NAME UI,API CLOUDSTACK VERSION 4.19.1.2 CONFIGURATION Projects SUMMARY Once you deleted a user in 'ROOT admin' role account, the projects can't be listed...
Opengraph URL: https://github.com/apache/cloudstack/issues/9974
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Projects listing breaks after deleting a user added to a project.","articleBody":"\u003c!--\r\nVerify first that your issue/request is not already reported on GitHub.\r\nAlso test if the latest release and main branch are affected too.\r\nAlways add information AFTER of these HTML comments, but no need to delete the comments.\r\n--\u003e\r\n\r\n##### ISSUE TYPE\r\n\u003c!-- Pick one below and delete the rest --\u003e\r\n * Bug Report\r\n\r\n##### COMPONENT NAME\r\n\u003c!--\r\nCategorize the issue, e.g. API, VR, VPN, UI, etc.\r\n--\u003e\r\n~~~\r\nUI,API\r\n~~~\r\n\r\n##### CLOUDSTACK VERSION\r\n\u003c!--\r\nNew line separated list of affected versions, commit ID for issues on main branch.\r\n--\u003e\r\n\r\n~~~\r\n4.19.1.2\r\n~~~\r\n\r\n##### CONFIGURATION\r\n\u003c!--\r\nInformation about the configuration if relevant, e.g. basic network, advanced networking, etc. N/A otherwise\r\n--\u003e\r\n\r\nProjects \r\n\r\n\r\n##### SUMMARY\r\n\u003c!-- Explain the problem/feature briefly --\u003e\r\n\r\nOnce you deleted a user in 'ROOT admin' role account, the projects can't be listed using UI/API. The deleted user was added to one of the projects. \r\n\r\n##### STEPS TO REPRODUCE\r\n\u003c!--\r\nFor bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.\r\n\r\nFor new features, show how the feature would be used.\r\n--\u003e\r\n\r\n\u003c!-- Paste example playbooks or commands between quotes below --\u003e\r\n~~~\r\n1. Add a user to the 'ROOT admin' Account.\r\n2. Create a project as another account/user in the same domain.\r\n3. Add the user from step 1 to this project as Project Admin.\r\n4. As an 'admin' user delete the above user. \r\n~~~\r\n\r\n\u003c!-- You can also paste gist.github.com links for larger files --\u003e\r\n\r\n##### EXPECTED RESULTS\r\n\u003c!-- What did you expect to happen when running the steps above? --\u003e\r\n\r\n~~~\r\nDeleting a user shouldn't break project access. \r\n~~~\r\n\r\n##### ACTUAL RESULTS\r\n\u003c!-- What actually happened? --\u003e\r\n\r\n\u003c!-- Paste verbatim command output between quotes below --\u003e\r\n~~~\r\nDeleting a user breaks projects access.\r\n~~~\r\nUndo the user deletion. ( May not be safe for production) \r\nWorkaround example: `delete from project_account where user_id=\u003cuser_id\u003e` OR ;`update user set state='disabled',removed=NULL where id=\u003cid\u003e;`\r\n\r\n","author":{"url":"https://github.com/rajujith","@type":"Person","name":"rajujith"},"datePublished":"2024-11-26T10:13:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/9974/cloudstack/issues/9974"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:10f37970-fc05-d289-bd6a-b51a9958aeb7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E812:198E4:1415663:1D31051:6A561A5D |
| html-safe-nonce | e81ae2f602aaec635b8bfc13006a5442d944783abecfe88d22da2f0bea6388cc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODEyOjE5OEU0OjE0MTU2NjM6MUQzMTA1MTo2QTU2MUE1RCIsInZpc2l0b3JfaWQiOiIyNTg3NTI3ODAxMTU1NzU0NTg5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3ba520623bad7cbee9db5b6ffd3f04a9e75faf969a985257ef3833b2a27ddc7f |
| hovercard-subject-tag | issue:2694036851 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/cloudstack/9974/issue_layout |
| twitter:image | https://opengraph.githubassets.com/01b88b577dc51eccd85bfdb16ece2b0d90191ee95c4a8f1c6ad0a51f4ea37237/apache/cloudstack/issues/9974 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/01b88b577dc51eccd85bfdb16ece2b0d90191ee95c4a8f1c6ad0a51f4ea37237/apache/cloudstack/issues/9974 |
| og:image:alt | ISSUE TYPE Bug Report COMPONENT NAME UI,API CLOUDSTACK VERSION 4.19.1.2 CONFIGURATION Projects SUMMARY Once you deleted a user in 'ROOT admin' role account, the projects can't be listed using UI/AP... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rajujith |
| hostname | github.com |
| expected-hostname | github.com |
| None | f4368738fc918fecd9b3958f6b49218bbe60d4185f38e72e3954e11f1ad0213a |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/cloudstack git https://github.com/apache/cloudstack.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 9759448 |
| octolytics-dimension-repository_nwo | apache/cloudstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9759448 |
| octolytics-dimension-repository_network_root_nwo | apache/cloudstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b76b9cc70d30da50674184c9c66c56423fd0b93c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width