mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-23 04:18:09 +03:00
Send API cleanup: remove legacy endpoints and align access with upstream (#7806)
This commit is contained in:
1 parent
1c89e1772b
commit
f4f1a8e105
5 files changed
+32
-209
No files matched your search
@@ -711,6 +711,7 @@ impl Cipher {
|
||||
// Only allow group access via a confirmed membership, since
|
||||
// groups_users rows are kept when a membership is revoked.
|
||||
.filter(users_organizations::status.eq(MembershipStatus::Confirmed as i32))
|
||||
.filter(ciphers::organization_uuid.eq(users_organizations::org_uuid.nullable()))
|
||||
.select((collections_groups::read_only, collections_groups::hide_passwords, collections_groups::manage))
|
||||
.load::<(bool, bool, bool)>(conn)
|
||||
.expect("Error getting group access restrictions")
|
||||
|
||||
Reference in new issue
Block a user