Extend collection response models to include collection, collectionDetails, and collectionGroupDetails
Edit: This fixes read only collections being listed in add/edit cipher for an organization. It also sets the ExternalId to "Not supported in bitwarden_rs" for collectionGroupDetails, which will be displayed edit collection.
🔄 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/990
**Author:** [@theycallmesteve](https://github.com/theycallmesteve)
**Created:** 5/8/2020
**Status:** ❌ Closed
**Base:** `master` ← **Head:** `extend_collection`
---
### 📝 Commits (1)
- [`5a0ad5c`](https://github.com/dani-garcia/vaultwarden/commit/5a0ad5cdca234f8ccc5ae2a074d1dd04e7b0c473) Extend collection response models to include collection, collectionDetails, and collectionGroupDetails
### 📊 Changes
**3 files changed** (+23 additions, -10 deletions)
<details>
<summary>View changed files</summary>
📝 `src/api/core/ciphers.rs` (+4 -1)
📝 `src/api/core/organizations.rs` (+5 -5)
📝 `src/db/models/collection.rs` (+14 -4)
</details>
### 📄 Description
Extend collection response models to include collection, collectionDetails, and collectionGroupDetails
Edit: This fixes read only collections being listed in add/edit cipher for an organization. It also sets the ExternalId to "Not supported in bitwarden_rs" for collectionGroupDetails, which will be displayed edit collection.
---
<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/990
Author: @theycallmesteve
Created: 5/8/2020
Status: ❌ Closed
Base:
master← Head:extend_collection📝 Commits (1)
5a0ad5cExtend collection response models to include collection, collectionDetails, and collectionGroupDetails📊 Changes
3 files changed (+23 additions, -10 deletions)
View changed files
📝
src/api/core/ciphers.rs(+4 -1)📝
src/api/core/organizations.rs(+5 -5)📝
src/db/models/collection.rs(+14 -4)📄 Description
Extend collection response models to include collection, collectionDetails, and collectionGroupDetails
Edit: This fixes read only collections being listed in add/edit cipher for an organization. It also sets the ExternalId to "Not supported in bitwarden_rs" for collectionGroupDetails, which will be displayed edit collection.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.