mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-12 01:45:56 -05:00
Bulk items change collection membership #5873
Reference in New Issue
Block a user
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 @gjelev on GitHub (Apr 2, 2025).
Originally assigned to: @BlackDex on GitHub.
Vaultwarden Support String
Config & Details (Generated via diagnostics page)
Show Config & Details
Config:
Screenshots or Videos
No response
Additional Context
No response
@gjelev commented on GitHub (Apr 2, 2025):
@stefan0xC commented on GitHub (Apr 2, 2025):
Could you please give more information about how to reproduce this?
The error message says "Bulk removing of collections is not yet implemented" which is called here:
8dfe805954/src/api/core/organizations.rs (L1905-L1909)But I don't know what to do to get the web-vault to send
removeCollections: trueto the/api/ciphers/bulk-collectionsendpoint. (It seems like there are some other issues with this endpoint which we have to fix but that would be unrelated to the error message you've posted.)@gjelev commented on GitHub (Apr 2, 2025):
Steps to reproduce:
Mark 2 or more items and choose ...
Click on Assign to collections

Choose another collection
5.Choose "Assign"
@BlackDex commented on GitHub (May 18, 2025):
I'm not able to reproduce this. I have tried an owner and a user account, but i never get the collections selected already by default.
Could you provide more details like what kind of member roles the account has you do this with?
@gjelev commented on GitHub (May 19, 2025):
The issue occurred when using both the Owner and custom User roles. It was observed while assigning items to a new collection and attempting to remove them from the current collections. When clicking on the items, they disappear from the list, and upon clicking "OK," an error message appears.
@BlackDex commented on GitHub (May 19, 2025):
And from which interface? The Password Manager or Admin Console view?
@gjelev commented on GitHub (May 19, 2025):
On both the result is the same
@BlackDex commented on GitHub (May 19, 2025):
Still strange I'm not able to reproduce this at all...
Could you maybe do the same with a new org and new collections? And if so describe all these steps?
I'm just not getting the remove option to work for some reason, and without it, I'm not really able to fix this correctly.
@gjelev commented on GitHub (May 19, 2025):
https://github.com/user-attachments/assets/2d9f9475-b20b-4810-a2a6-aa84a17ded89
@BlackDex commented on GitHub (May 19, 2025):
Very strange, I'm not getting this at all.
@stefan0xC commented on GitHub (May 19, 2025):
Got it. The important step missing is to first select the collection you want to remove the items from:
https://github.com/user-attachments/assets/b29ee02a-2fde-4824-bf95-8c5f1445725f
@BlackDex commented on GitHub (May 19, 2025):
Thanks @stefan0xC
@BlackDex commented on GitHub (May 19, 2025):
Well, that was a relatively easy fix i think, it's (going to be) part of the #5798 PR.