mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[GH-ISSUE #3350] missing endpoints to bulk delete multiple collections/groups #1539
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#1539
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @stefan0xC on GitHub (Mar 16, 2023).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/3350
Subject of the issue
While testing the latest
testingimage (vaultwarden v1.27.0-729b5631 / web-vault v2023.2.0), I noticed that with the new consolidated view it is now possible to bulk delete collections and groups in the organization tab, however this does not currently work because the respective endpoints are missing.Steps to reproduce
Create an organization and add two empty collections (if you have set
ORG_GROUPS_ENABLED=trueyou can test the same with groups). Select both collections and click onDelete selectedin the uppermost three-dot menu and confirm.Peek 2023-03-16 20-38.webm
Troubleshooting data
The XHR request to
DELETE <DOMAIN>/api/organizations/85435556-697e-4441-91b6-14486c9469c6/collectionswith data:The request to
DELETE <DOMAIN>/api/organizations/85435556-697e-4441-91b6-14486c9469c6/groups:As both endpoints are missing, they return the following response:
@BlackDex commented on GitHub (Mar 16, 2023):
Good catch!
Now.... Have you fixed it already 🙈
@stefan0xC commented on GitHub (Mar 16, 2023):
Nope, but I can try to fix it this weekend. I have no time to spend time on it earlier. 🥲