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
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/dani-garcia/vaultwarden/pull/4592
**Author:** [@stefan0xC](https://github.com/stefan0xC)
**Created:** 5/26/2024
**Status:** ✅ Merged
**Merged:** 7/4/2024
**Merged by:** [@dani-garcia](https://github.com/dani-garcia)
**Base:** `main` ← **Head:** `fix-collection-permission-issue`
---
### 📝 Commits (5)
- [`49d07ed`](https://github.com/dani-garcia/vaultwarden/commit/49d07ed5aae93b4282af63f1cee81fd53ea1d0fa) add group support for Cipher::get_collections()
- [`37b2143`](https://github.com/dani-garcia/vaultwarden/commit/37b2143813906f9634021c52bf71bc81ee7b4d0d) fix Collection::is_writable_by_user()
- [`e97088c`](https://github.com/dani-garcia/vaultwarden/commit/e97088c119771c69ca13f2ecb90ba9bd92b58f7b) differentiate the /collection endpoints
- [`9af6f86`](https://github.com/dani-garcia/vaultwarden/commit/9af6f864df2133806622262e12f4df64cd3024d8) return cipherDetails on post_collections_update()
- [`a74c7bf`](https://github.com/dani-garcia/vaultwarden/commit/a74c7bf20ffb212213129e9f70b860905a8f4290) add collections_v2 endpoint
### 📊 Changes
**3 files changed** (+267 additions, -74 deletions)
<details>
<summary>View changed files</summary>
📝 `src/api/core/ciphers.rs` (+92 -8)
📝 `src/db/models/cipher.rs` (+118 -25)
📝 `src/db/models/collection.rs` (+57 -41)
</details>
### 📄 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
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.