mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-06 09:13:03 +03:00
[PR #13] [MERGED] Implement Collection-Cipher mapping #3922
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?
📋 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:
master← Head:cipher_collection📝 Commits (4)
34f2aa6Implement Collection-Cipher mappinge5c9d19Remove outdated comment9cf449eError on invalid collection ID in post_collections_admindfb1232Filter 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.