mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 17:23:04 +03:00
[PR #146] [MERGED] Update affected users revision on cipher and folder change #3839
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/146
Author: @mprasil
Created: 8/21/2018
Status: ✅ Merged
Merged: 8/21/2018
Merged by: @dani-garcia
Base:
beta← Head:cipher_folder_revision📝 Commits (1)
2b2401bUpdate affected users revision on cipher and folder change📊 Changes
3 files changed (+45 additions, -3 deletions)
View changed files
📝
src/db/models/cipher.rs(+22 -1)📝
src/db/models/folder.rs(+2 -0)📝
src/db/models/organization.rs(+21 -2)📄 Description
This should update revision for all affected users on cipher and folder changes. The
find_by_cipher_and_orgdefinitely needs another pair of eyes to double-check. (from my limited testing it does what it should)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.