[PR #991] [CLOSED] Extend cipher and require collection #2847

Closed
opened 2026-03-03 09:08:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/991
Author: @theycallmesteve
Created: 5/8/2020
Status: Closed

Base: masterHead: extend_cipher_require_collection


📝 Commits (2)

  • efa07fa Extend cipher response models to include cipher, cipherMini, cipherDetails, and cipherMiniDetails
  • 2f6b506 Require a collection when adding a cipher to an organization

📊 Changes

3 files changed (+121 additions, -42 deletions)

View changed files

📝 src/api/core/ciphers.rs (+49 -19)
📝 src/api/core/organizations.rs (+1 -1)
📝 src/db/models/cipher.rs (+71 -22)

📄 Description

Extend cipher response models to include cipher, cipherMini, cipherDetails, and cipherMiniDetails.
Require a collection when adding a cipher to an organization.

Edit: This PR plus #990 fixes #971 (read only collections showing in add/edit cipher and cipher creation in "unassigned collection" when the user should be read only)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/991 **Author:** [@theycallmesteve](https://github.com/theycallmesteve) **Created:** 5/8/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `extend_cipher_require_collection` --- ### 📝 Commits (2) - [`efa07fa`](https://github.com/dani-garcia/vaultwarden/commit/efa07fa91851eca4f08f110c3c028f24939b247a) Extend cipher response models to include cipher, cipherMini, cipherDetails, and cipherMiniDetails - [`2f6b506`](https://github.com/dani-garcia/vaultwarden/commit/2f6b506710bcdfa2c064455621771278490ecbb8) Require a collection when adding a cipher to an organization ### 📊 Changes **3 files changed** (+121 additions, -42 deletions) <details> <summary>View changed files</summary> 📝 `src/api/core/ciphers.rs` (+49 -19) 📝 `src/api/core/organizations.rs` (+1 -1) 📝 `src/db/models/cipher.rs` (+71 -22) </details> ### 📄 Description Extend cipher response models to include cipher, cipherMini, cipherDetails, and cipherMiniDetails. Require a collection when adding a cipher to an organization. Edit: This PR plus #990 fixes #971 (read only collections showing in add/edit cipher and cipher creation in "unassigned collection" when the user should be read only) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 09:08:35 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#2847
No description provided.