[PR #13] [MERGED] Implement Collection-Cipher mapping #3922

Open
opened 2025-10-09 18:32:39 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/13
Author: @mprasil
Created: 5/9/2018
Status: Merged
Merged: 5/11/2018
Merged by: @dani-garcia

Base: masterHead: cipher_collection


📝 Commits (4)

  • 34f2aa6 Implement Collection-Cipher mapping
  • e5c9d19 Remove outdated comment
  • 9cf449e Error on invalid collection ID in post_collections_admin
  • dfb1232 Filter collection lists based on user

📊 Changes

8 files changed (+143 additions, -4 deletions)

View changed files

migrations/2018-05-08-161616_create_collection_cipher_map/down.sql (+1 -0)
migrations/2018-05-08-161616_create_collection_cipher_map/up.sql (+5 -0)
📝 src/api/core/ciphers.rs (+42 -0)
📝 src/api/core/mod.rs (+1 -0)
📝 src/db/models/cipher.rs (+25 -2)
📝 src/db/models/collection.rs (+58 -1)
📝 src/db/models/mod.rs (+1 -1)
📝 src/db/schema.rs (+10 -0)

📄 Description

This adds new table that maps ciphers into collections. Also implemented some parts of the API to assign cipher to collections.


🔄 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/13 **Author:** [@mprasil](https://github.com/mprasil) **Created:** 5/9/2018 **Status:** ✅ Merged **Merged:** 5/11/2018 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `master` ← **Head:** `cipher_collection` --- ### 📝 Commits (4) - [`34f2aa6`](https://github.com/dani-garcia/vaultwarden/commit/34f2aa68f431773d040124db0be9d4fb8eb03367) Implement Collection-Cipher mapping - [`e5c9d19`](https://github.com/dani-garcia/vaultwarden/commit/e5c9d19e2596af85d37222c93a9b6a812ad25b4e) Remove outdated comment - [`9cf449e`](https://github.com/dani-garcia/vaultwarden/commit/9cf449e1c529ab7b21f25729050b35ca39cbc4e9) Error on invalid collection ID in post_collections_admin - [`dfb1232`](https://github.com/dani-garcia/vaultwarden/commit/dfb12320817a58484d259011e49d9552b450f2bc) Filter collection lists based on user ### 📊 Changes **8 files changed** (+143 additions, -4 deletions) <details> <summary>View changed files</summary> ➕ `migrations/2018-05-08-161616_create_collection_cipher_map/down.sql` (+1 -0) ➕ `migrations/2018-05-08-161616_create_collection_cipher_map/up.sql` (+5 -0) 📝 `src/api/core/ciphers.rs` (+42 -0) 📝 `src/api/core/mod.rs` (+1 -0) 📝 `src/db/models/cipher.rs` (+25 -2) 📝 `src/db/models/collection.rs` (+58 -1) 📝 `src/db/models/mod.rs` (+1 -1) 📝 `src/db/schema.rs` (+10 -0) </details> ### 📄 Description This adds new table that maps ciphers into collections. Also implemented some parts of the API to assign cipher to collections. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2025-10-09 18:32:40 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#3922