Title: When removing an account, not everything is cleaned up · Issue #10103 · apache/cloudstack · GitHub
Open Graph Title: When removing an account, not everything is cleaned up · Issue #10103 · apache/cloudstack
X Title: When removing an account, not everything is cleaned up · Issue #10103 · apache/cloudstack
Description: ISSUE TYPE Bug Report COMPONENT NAME UI CLOUDSTACK VERSION 4.19.1.2 CONFIGURATION Networks that are shared with multiple accounts. OS / ENVIRONMENT N/A SUMMARY When an account is created we can assign it a particular project role as well...
Open Graph Description: ISSUE TYPE Bug Report COMPONENT NAME UI CLOUDSTACK VERSION 4.19.1.2 CONFIGURATION Networks that are shared with multiple accounts. OS / ENVIRONMENT N/A SUMMARY When an account is created we can ass...
X Description: ISSUE TYPE Bug Report COMPONENT NAME UI CLOUDSTACK VERSION 4.19.1.2 CONFIGURATION Networks that are shared with multiple accounts. OS / ENVIRONMENT N/A SUMMARY When an account is created we can ass...
Opengraph URL: https://github.com/apache/cloudstack/issues/10103
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"When removing an account, not everything is cleaned up","articleBody":"\r\n\r\n##### ISSUE TYPE\r\n * Bug Report\r\n\r\n##### COMPONENT NAME\r\n~~~\r\nUI\r\n~~~\r\n\r\n##### CLOUDSTACK VERSION\r\n~~~\r\n4.19.1.2\r\n~~~\r\n\r\n##### CONFIGURATION\r\nNetworks that are shared with multiple accounts.\r\n\r\n##### OS / ENVIRONMENT\r\nN/A\r\n\r\n##### SUMMARY\r\nWhen an account is created we can assign it a particular project role as well as grant it particular network permissions in order to use those guest networks.\r\n\r\nWhen we then decide to delete that account, we first get a message that this cannot be done because the account is still linked to the project. When we remove the account from the project, we are then able to delete the account. However, the account was still granted network permissions. If we now try to remove those network permissions for that account, Apache CloudStack isn't able to and you need to go manually into the database to remove the corresponding entry in the network_permissions table.\r\n\r\n\r\n##### STEPS TO REPRODUCE\r\n\r\n~~~\r\nCreate an account called accountA\r\nGrant account accountA network permissions on a particular guest network\r\nDelete account accountA\r\nTry to remove accountA network permissions\r\n~~~\r\n\r\n\r\n\r\n##### EXPECTED RESULTS\r\n\r\n~~~\r\nI would expect Apache CloudStack to fail stating that there are still networks that are shared with this particular account (similar to how an account cannot be removed when it's still linked to a project)\r\n~~~\r\n\r\n##### ACTUAL RESULTS\r\n~~~\r\nAccount is removed but the network permissions are still there leaving a cluttered UI with network permissions to an account that no longer exist but also cannot be removed (through the UI).\r\n~~~\r\n","author":{"url":"https://github.com/jmkleijer","@type":"Person","name":"jmkleijer"},"datePublished":"2024-12-13T11:00:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/10103/cloudstack/issues/10103"}
| 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:38f285b4-2507-7968-9e06-ffde33cee3a0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 839C:2D16FA:11F70BD:1A164F7:6A561266 |
| html-safe-nonce | 3c706a1fe61bc0f41f29c955dca03bf767ff36d0416195d1427bcc912171064b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzlDOjJEMTZGQToxMUY3MEJEOjFBMTY0Rjc6NkE1NjEyNjYiLCJ2aXNpdG9yX2lkIjoiMjI0MzQ0NjkxNTgyNzM3MjY0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0c4a5f13cf1ddcfbe48c63d4017995cb1969f56c4652e16b4456c54ed1ec265c |
| hovercard-subject-tag | issue:2738125971 |
| 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/10103/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4a233c384c9da98ae7ad3d4334fb493e3ad44a40c160b582339af2a137a14c63/apache/cloudstack/issues/10103 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4a233c384c9da98ae7ad3d4334fb493e3ad44a40c160b582339af2a137a14c63/apache/cloudstack/issues/10103 |
| og:image:alt | ISSUE TYPE Bug Report COMPONENT NAME UI CLOUDSTACK VERSION 4.19.1.2 CONFIGURATION Networks that are shared with multiple accounts. OS / ENVIRONMENT N/A SUMMARY When an account is created we can ass... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jmkleijer |
| 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