mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
Cannot create entries in organisation without assigning to a collection #966
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 @djmattyg007 on GitHub (Mar 4, 2021).
Subject of the issue
I recently upgraded from 1.17 to 1.19. Before the upgrade, I am certain I was able to create entries assigned to an organisation without attaching the entry to a collection. Now, I am unable to create entries without attaching the entry to a collection. If I attempt to do so, I get the error message "You must select at least one collection".
Deployment environment
Your environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
Install method: Arch Linux official repo package
Clients used: web vault
Steps to reproduce
Be a member of an organisation (specifically, I'm an owner of the organisation), and attempt to create a new entry on 1.19 with the entry assigned to that organisation. Do not select any collections, and observe that the save request is rejected.
Expected behaviour
I should be able to create entries without any restrictions on selecting or not selecting collections.
Actual behaviour
I'm unable to create an entry without selecting a collection.
@BlackDex commented on GitHub (Mar 4, 2021):
Previous behavior was a bug, this has been fixed to be inline with upstream. All items that are being created need to be linked to a collection.