I've noticed we didn't return MaxStorageGb and UsersGetPremium properly in some cases, so I've added those. I've also somewhat simplified the cipher sharing code.
🔄 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/204
**Author:** [@mprasil](https://github.com/mprasil)
**Created:** 10/1/2018
**Status:** ✅ Merged
**Merged:** 10/1/2018
**Merged by:** [@dani-garcia](https://github.com/dani-garcia)
**Base:** `master` ← **Head:** `org_improvements`
---
### 📝 Commits (2)
- [`fb4e6ba`](https://github.com/dani-garcia/vaultwarden/commit/fb4e6bab14f5da3fa6818a9dfd34449b7ff17f28) Clean up the share_collection handling
- [`c3c7450`](https://github.com/dani-garcia/vaultwarden/commit/c3c74506a77308a3316a1eb265488b4c2be0c968) Add missing fields to returned Org json
### 📊 Changes
**3 files changed** (+7 additions, -9 deletions)
<details>
<summary>View changed files</summary>
📝 `src/api/core/ciphers.rs` (+3 -7)
📝 `src/db/models/organization.rs` (+3 -2)
📝 `src/main.rs` (+1 -0)
</details>
### 📄 Description
I've noticed we didn't return `MaxStorageGb` and `UsersGetPremium` properly in some cases, so I've added those. I've also somewhat simplified the cipher sharing code.
---
<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/204
Author: @mprasil
Created: 10/1/2018
Status: ✅ Merged
Merged: 10/1/2018
Merged by: @dani-garcia
Base:
master← Head:org_improvements📝 Commits (2)
fb4e6baClean up the share_collection handlingc3c7450Add missing fields to returned Org json📊 Changes
3 files changed (+7 additions, -9 deletions)
View changed files
📝
src/api/core/ciphers.rs(+3 -7)📝
src/db/models/organization.rs(+3 -2)📝
src/main.rs(+1 -0)📄 Description
I've noticed we didn't return
MaxStorageGbandUsersGetPremiumproperly in some cases, so I've added those. I've also somewhat simplified the cipher sharing code.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.