You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to remove accounts from the UI/Accounts page using the main button #9904
In the UI it doesn't seem possible to select one or more accounts and Delete them from the list view, it must be done individually, their the accounts own menu Delete entry.
STEPS TO REPRODUCE
Go to UI -> Accounts, select one or more and try to delete it by using the "bin" icon up top near the search field.
The button is greyed out.
EXPECTED RESULTS
I should have been able to batch-delete the selected accounts by using the "bin" icon on the Accounts page.
hi @NuxRo
Do we really want group action for account deletion?
There is an issue regarding account deletion #9480 which mentions that account deletion is a destructive event (deletes all instances, volumes, snapshots etc). So some extra safety measures should be added so that user doesn't inadvertently delete an account. There is an open PR for it as well which makes user input the name of the account before deleting it #10242.
Please let me know your thoughts on this.
@abh1sar Well.. I don't know what to say.
Personally I'd like to have the option, but if the community thinks some users might shoot themselves in the foot with it then I guess I can make do with the api/cmk.
BTW, in the meanwhile I have discovered that one CAN indeed delete multiple accounts from the UI - just select the accounts you want to delete, then on first one (or any one of them) choose "delete" and all of them are removed. See screenshots below.
@abh1sar@NuxRo , I think we can see this as a minor UI bug, The delete button should be not there or enabled, would you agree?
To answer the more serious functional question: I think it should be up to the operator (or even domain admin) if they want to be able to delete multiple accounts at once.
@Imvedansh , no PR has been associated with this issue yet, please feel free. It was assigned to @abh1sar , but i'm sure he'll forgive you if you beat him to it. ;)
@DaanHoogland
Multiple accounts should not be deleted in one go—they should be deleted individually to avoid potential disasters.
However, when I select multiple accounts, then click the dropdown and choose "Delete," even if I cancel the action, I can still delete multiple accounts from the main action. It even allows the current account to be deleted, as shown in the screenshot.
@Imvedansh , i think the action of deleting multiple account should be available to those who have right to this API.
BUT ...
root admin and current account should not be able to be deleted. I think for the latter a fix is already implemented.
Activity
abh1sar commentedon Jan 25, 2025
hi @NuxRo
Do we really want group action for account deletion?
There is an issue regarding account deletion #9480 which mentions that account deletion is a destructive event (deletes all instances, volumes, snapshots etc). So some extra safety measures should be added so that user doesn't inadvertently delete an account. There is an open PR for it as well which makes user input the name of the account before deleting it #10242.
Please let me know your thoughts on this.
NuxRo commentedon Jan 27, 2025
@abh1sar Well.. I don't know what to say.
Personally I'd like to have the option, but if the community thinks some users might shoot themselves in the foot with it then I guess I can make do with the api/cmk.
BTW, in the meanwhile I have discovered that one CAN indeed delete multiple accounts from the UI - just select the accounts you want to delete, then on first one (or any one of them) choose "delete" and all of them are removed. See screenshots below.
DaanHoogland commentedon Jan 28, 2025
@abh1sar @NuxRo , I think we can see this as a minor UI bug, The delete button should be not there or enabled, would you agree?
To answer the more serious functional question: I think it should be up to the operator (or even domain admin) if they want to be able to delete multiple accounts at once.
Imvedansh commentedon Apr 11, 2025
@DaanHoogland @abh1sar I’d like to pick up this issue if it still needs to be worked on. Could you please confirm if someone is already addressing it?
DaanHoogland commentedon Apr 11, 2025
@Imvedansh , no PR has been associated with this issue yet, please feel free. It was assigned to @abh1sar , but i'm sure he'll forgive you if you beat him to it. ;)
Imvedansh commentedon Apr 11, 2025
On it! Sorry @abh1sar , repo race is on:)
Imvedansh commentedon Apr 12, 2025
@DaanHoogland
Multiple accounts should not be deleted in one go—they should be deleted individually to avoid potential disasters.
However, when I select multiple accounts, then click the dropdown and choose "Delete," even if I cancel the action, I can still delete multiple accounts from the main action. It even allows the current account to be deleted, as shown in the screenshot.
How do you think I should proceed?
Refer #9480 , these features will conflict,
DaanHoogland commentedon Apr 14, 2025
@Imvedansh , i think the action of deleting multiple account should be available to those who have right to this API.
BUT ...
root admin and current account should not be able to be deleted. I think for the latter a fix is already implemented.
Imvedansh commentedon Apr 15, 2025
@DaanHoogland I agree,

But ...
with that it may not make much sense with extra security step in deleting accounts, WDYT?
Like here,
DaanHoogland commentedon Apr 15, 2025
"DELETE ALL!" ;)
Imvedansh commentedon Apr 15, 2025
Going that road now :) .....
DaanHoogland commentedon Jul 9, 2025
seems to be fixed in #10760, needs checking