mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-24 19:07:44 +03:00
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/3757
Author: @matlink
Created: 8/5/2023
Status: ✅ Merged
Merged: 1/1/2024
Merged by: @dani-garcia
Base:
main← Head:3413_live_sync_groups📝 Commits (2)
96f9d18Fix #3413: push to users acessing the collections using groupsc09db88Notify groups only when enabled📊 Changes
2 files changed (+36 additions, -1 deletions)
View changed files
📝
src/db/models/cipher.rs(+10 -1)📝
src/db/models/organization.rs(+26 -0)📄 Description
I bet it can be done with a single query within the
find_by_cipher_and_orgfunction but I didn't managed to get it work (thefiltergets complicated, addinggroups::access_all.eq(true)works but I can't figure out how to check if the user is in a group that has access to the collection).Basically it retrieves the users having access to the cipher with a group that either has access to all collections or is bound to the cipher's collection. Then users uuid are used to push changes to clients.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.