mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 01:10:09 +03:00
[PR #4592] [MERGED] add group support for Cipher::get_collections() #2782
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/4592
Author: @stefan0xC
Created: 5/26/2024
Status: ✅ Merged
Merged: 7/4/2024
Merged by: @dani-garcia
Base:
main← Head:fix-collection-permission-issue📝 Commits (5)
49d07edadd group support for Cipher::get_collections()37b2143fix Collection::is_writable_by_user()e97088cdifferentiate the /collection endpoints9af6f86return cipherDetails on post_collections_update()a74c7bfadd collections_v2 endpoint📊 Changes
3 files changed (+267 additions, -74 deletions)
View changed files
📝
src/api/core/ciphers.rs(+92 -8)📝
src/db/models/cipher.rs(+118 -25)📝
src/db/models/collection.rs(+57 -41)📄 Description
join group infos assigned to a collection to check whether user has been given access to all collections via any group or they have access to a specific collection via any group membership
fixes #4588
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.